-
Notifications
You must be signed in to change notification settings - Fork 5
Configuration
Demez edited this page Jun 18, 2020
·
8 revisions
Project Configurations set all the settings for a project
The configuration block has 4 different groups and 3 build event command lines
Every group name is all lowercase
Example Format
configuration
{
general
{
option_name option_value
list_option_name
{
foo bar [$CONDITION]
baz
}
}
}
You can have as many items in a single line if you want, usually for items that all use the same condition
-
out_name- output name - name of the binaries made in the out_dir (output, debug file, etc) -
out_dir- output directory - sets the output directory of the binary -
build_dir- build directory - directory where all the object files and other files made during compiling go
-
configuration_type- sets the output directory of the binarydynamic_librarystatic_libraryapplication
-
language- sets the coding language you are usingcppc
-
compiler- set the compiler to use, any string can be used here, some generators use custom inputs for these options though.- Compilers for Visual Studio:
-
msvc_142tomsvc_100 msvc_140_xpmsvc_120_xpclang_cl
-
- Compilers for Visual Studio:
-
include_directories- self-explanatory -
library_directories- self-explanatory -
options- command line options
-
precompiled_header_file- path to the precompiled header file -
precompiled_header_out_file- where the precompiled header file will build to
-
precompiled_header- set the usage of precompiled headers-
none- do not use a precompiled header -
create- create a precompiled header -
use- use a precompiled header
-
-
preprocessor_definitions- defines -
options- command line options for compiler
-
output_file- if set, this will override out_name and out_dir in general -
debug_file- if set, this will override out_name and out_dir in general -
import_library-
-
ignore_import_librarytruefalse
-
libraries- extensions and directories are not needed if the directory is in library_directories, but can be used -
ignore_libraries- same as rules above, except these libraries are ignored -
options- command line options for linking
Other Pages (will move all of the above to their own pages):
Basics:
Project Scripts
Generators: