Skip to content

DrCosinus/BuildTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BuildTask

Helper executable to ease the build task under VS Code.

Disclaimer

Currently, many assumptions I made work only on my PC.

  • Visual Studio 2017 (or Preview) Communuty (or Professional) Edition should be installed in C:\Program Files (x64)\Microsoft Visual Studio\... to be able to use MSVC. The preview version has priority over the stable version if available. The professional edition has priority over the community edition if available.
  • LLVM Clang 6.0 should be installed and set in the path to be able to use Clang.

Arguments

Commandline argument Description Clang MSVC
-clang use clang -Xclang -flto-visibility-public-std /EHsc
/permissive-
nologo
/Foobj
-msvc use msvc
-debug -DDEBUG=1
-O0
/DDEBUG=1
/Zi
/Od
-ndebug -DDEBUG=0
-DNDEBUG
-O3
/DDEBUG=0
/DNDEBUG
/Ox
-output <filepath> -o <filepath> /Fe<filepath>
-force force recompilation
-warnings_are_errors -Werror /WX
-warning_level not yet implemented see table below see table below
-std c++xy not yet implemented

The between parameter and its value should soon be replacable by : or =.

For now warning level is set to "high"

Warning Levels clang MSVC
none /W0
severe -Wall /W1
significant -Wall -pedantic /W2
production -Wall -pedantic /W3
informational (default) -Wall -pedantic -Wextra /W4
nighmare -Wall -pedantic -Wextra -Weverything /Wall

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages