Functions and macros to add executable and library targets. More...
Go to the source code of this file.
Functions | |
function | add_executable (in TARGET_UID, in ARGN) |
Add executable target. More... | |
function | add_library (in TARGET_UID, in ARGN) |
Add library target. More... | |
macro | basis_add_custom_target (in TARGET_NAME) |
Add custom target. More... | |
function | basis_add_definitions (in ARGN) |
Add compile definitions. More... | |
function | basis_add_dependencies (in ARGN) |
Add dependencies to build target. More... | |
function | basis_add_executable (in TARGET_NAME, in ARGN) |
Add executable target. More... | |
function | basis_add_executable_target (in TARGET_NAME, in ARGN) |
Add executable built from C++ source code. More... | |
function | basis_add_init_py_target () |
function | basis_add_library (in TARGET_NAME, in ARGN) |
Add library target. More... | |
function | basis_add_library_target (in TARGET_NAME, in ARGN) |
Add library built from C++ source code. More... | |
function | basis_add_script (in TARGET_NAME, in ARGN) |
Add single arbitrary or executable script. More... | |
function | basis_add_script_library (in TARGET_NAME, in ARGN) |
Add script library target. More... | |
function | basis_build_script (in TARGET_UID) |
Add custom command for build of single script. More... | |
function | basis_build_script_library (in TARGET_UID) |
Add custom command for build of script library. More... | |
function | basis_finalize_targets (in ARGN) |
Finalize custom targets by adding the missing build commands. More... | |
function | basis_get_target_property (out VAR, in TARGET_NAME, in ARGN) |
Get value of property set on target. More... | |
function | basis_include_directories (in ARGN) |
Add directories to search path for include files. More... | |
function | basis_link_directories (in ARGN) |
Add directories to search path for libraries. More... | |
function | basis_remove_definitions (in ARGN) |
Remove previously added compile definitions. More... | |
function | basis_set_target_install_rpath (in TARGET_NAME) |
Set INSTALL_RPATH property of executable or shared library target. More... | |
function | basis_set_target_properties (in ARGN) |
Set properties on a target. More... | |
function | basis_target_link_libraries (in TARGET_NAME, in ARGN) |
Add link dependencies to build target. More... | |
macro | include_directories (in ARGN) |
Add directories to search path for include files. More... | |
macro | link_directories (in ARGN) |
Add directories to search path for libraries. More... | |
Variables | |
cmake | __BASIS_TARGETTOOLS_INCLUDED |
Functions and macros to add executable and library targets.
Definition in file TargetTools.cmake.
cmake __BASIS_TARGETTOOLS_INCLUDED |
Definition at line 20 of file TargetTools.cmake.