|
Target Property CODEBLOCKS_WORKSPACE_EXCLUDE_TARGET will remove the project files for a target from the workspace file. example
Directory File Property CODEBLOCKS_WORKSPACE_EXCLUDE_GROUP will remove the project files for a group ( Executable, Static_library, Shared_library Module_library, Utility, Global_target, Install_files, Install_programs, Install_directory ) from the workspace file. example
Target Property CODEBLOCKS_CREATE_WORKSPACE will generate a workspace for a single target in the top binary directory. example
Source File Property CODEBLOCKS_PROJECT_EXCLUDE_GROUP will prevent project files being created for a group ( Executable, Static_library, Shared_library Module_library, Utility, Global_target, Install_files, Install_programs, Install_directory ). example
Target Property CODEBLOCKS_ACTIVE_PROJECT will signal the active codeblocks project in a workspace. example
Target property CODEBLOCKS_EXECUTION_PARAMETERS sets command line parameters for executable under codeblocks. example
Target property CODEBLOCKS_USE_CONSOLE_RUNNER - run a console program under codeblocks and wait for a key to close. code
Target property CODEBLOCKS_HOST_APPLICATION - run this program under codeblocks for dll/shared libraries. code
Target property CODEBLOCKS_CREATE_DEF_FILE creates a def file for the windows linker. code
Target property CODEBLOCKS_CREATE_IMPORT_LIBRARY - create an import library for the windows linker. example
Target property CODEBLOCKS_COMPILER_OPTIONS_PRIORITY sets the relative order/priority of link directories. The meaning in CMake is between makefile settings and build type settings. - not supported by CMake and will lead to different builds between this local generator and the top local generator. code
Target property CODEBLOCKS_LINKER_OPTIONS_PRIORITY sets the relative order/priority of link directories. The meaning in CMake is between makefile settings and build type settings. - not supported by CMake and will lead to different builds between this local generator and the top local generator. code
Target property CODEBLOCKS_COMPILER_INCLUDES_PRIORITY sets the relative order/priority of link directories. The meaning in CMake is between makefile settings and build type settings. - not supported by CMake and will lead to different builds between this local generator and the top local generator. code
Target property CODEBLOCKS_RESOURCE_INCLUDES_PRIORITY sets the relative order/priority of link directories. The meaning in CMake is between makefile settings and build type settings. - not supported by CMake and will lead to different builds between this local generator and the top local generator. code
Target property CODEBLOCKS_LINKER_INCLUDES_PRIORITY sets the relative order/priority of link directories. The meaning in CMake is between makefile settings and build type settings. - not supported by CMake and will lead to different builds between this local generator and the top local generator. code
Target property CODEBLOCKS_RESOURCE_INCLUDE_DIRECTORIES is a list of resource directories. example
Target property CODEBLOCKS_SCRIPT - run a target level codeblocks script. code
Global/Directory/Target property CODEBLOCKS_USE_EXTENDED_OBJECT_NAMES add the source file extension to objects. From CMake documentation "CMake computes for every source file an object file name that is unique to the source file and deterministic with respect to the full path to the source file." code
Target property CODEBLOCKS_NOTE sets a note for a project. example
Target property CODEBLOCKS_SHOW_NOTE displays a note for a project. example
Global/Directory/Target property CODEBLOCKS_PCH_MODE={ 0, 1, 2 } - Generate in a directory alongside header, in object directory, or default to alongside header. Generator will add the directory for option 1 to the top of the compiler include list. code
Target property CODEBLOCKS_DEFAULT_BUILD sets the default build type for the codeblocks ide. code
Target property CODEBLOCKS_VIRTUAL_BUILDS sets a list of virtual build types for a project file. As an Example All RelWithDebInfo Debug Release MinSizeRel Development Debug. The build types must be in CMAKE_BUILD_TYPES or it will be considered as an alias and probably fail. example
Source file property CODEBLOCKS_SOURCE_NO_COMPILE - Do not compile. This file could be supported with the cmake property EXTERNAL_OBJECT. code
Source file property CODEBLOCKS_SOURCE_NO_LINK - Do not link. This file could be supported with the cmake property SYMBOLIC. code
Source file property CODEBLOCKS_SOURCE_WEIGHT (number) - Lower number files are compiled first. code
Source file property CODEBLOCKS_VIRTUAL_FOLDER (Folder name only) will override all virtual folder properties - a folder is created and the source is placed under it. code
Source file property CODEBLOCKS_SOURCE_TARGETS is a list of targets that this source file is attached, no CODEBLOCKS_SOURCE_TARGETS property attaches this file to all build targets. This is not supported in cmake and the makefile generator used will include the source in all targets. It can be used to keep two groups of builds, for example Linux_Debug and Win32_debug in the same CodeBlocks project file. code
Global/Director/Target property CODEBLOCKS_GENERATED_FILES is a list of files that are generated by other targets to be included in this project file. Files are cumulative from global to target. example
Global/Director/Target property CODEBLOCKS_SCRIPT_FILES is a list of files that are scripts - Files are cumulative from global to target. code
Global/Director/Target property CODEBLOCKS_CONFIGURED_FILES is a list of files that are the source for a generated source file or script - this is a clue to programmer not to edit a generated file but edit it's source and re-configure. Files are cumulative from global to target. example
Global/Director/Target property CODEBLOCKS_RESOURCE_FILES is a list of files that are the source for generated resources - Files are cumulative from global to target. code
Global/Director/Target property CODEBLOCKS_VIRTUAL_FOLDERS default or a list(name followed by file extensions). The extensions must have a leading asterisk. For example: Sources *.cpp *.cxx Headers *.h *.hpp Sources/Assembly *.s "default" will enable virtual folders with: "Sources;*.cpp;*.cxx;*.c;Headers*.h;*.hxx;*.hpp;Generated;Resources;*xrc;Scripts;*.sh;*.bat;*.cmd;*" Any file that has a Generated property will go under Generated, any codeblocks script file will go under Scripts along with the current CMakeList.txt file. A lone asterisk means any file without an extension. default followed by a list will add that list to the default list above. DIRECTORY property will override the GLOBAL property. TARGET property will override DIRECTORY and a SOURCE property of CODEBLOCKS_VIRTUAL_FOLDER (Folder name only) will override all. example
Global/Director/Target property CODEBLOCKS_RESOURCE_FILES is a list of files that are the source for generated resources - Files are cumulative from global to target. code
Global/Director/Target property CODEBLOCKS_CONFIGURED_FILES is list of files that are the source for a generated source file or script - this is a clue to programmer not to edit a generated file but edit its source and re-configure. Files are cumulative from global to target. code
Directory property CODEBLOCKS_SCRIPT - run a directory (CMakeLists) level codeblocks script. code
PackageConfigure Properties. (PACKAGE_CONFIGURE)
PackageConfigure CMake Global, Directory and Target Property PACKAGECONFIGURE_PC_FILES sets the location of a working directory for pkg-config utility pc files. This is used for files that override or augment the /usr/... /lib/pkgconfig directory files. If ARCHIVE_OUTPUT_DIRECTORY is set - set to ARCHIVE_OUTPUT_DIRECTORY/pkgconfig. If not then LIBRARY_OUTPUT_DIRECTORY/pkgconfig. If not then LIBRARY_OUTPUT_PATH/pkgconfig. or defaults to CMAKE_BINARY_DIR/pkgconfig. If the pkgconfig directory is found pkg-config will use the system directory if it doesn't find the pc file, it's the current directory. example
PackageConfigure CMake Global, Directory and Target Property PACKAGECONFIGURE_XXX-CONFIG_FILES sets the location of a working directory for xxx-config scripts. This is used for files that replace, override or augment the /usr/... /bin scripts. If set defaults to EXECUTABLE_OUTPUT_PATH - else CMAKE_BINARY_DIR. example
Precompiled Header. (PRECOMPILED_HEADER) |