Open mihkhub opened 7 years ago
Add a library to the project using the specified source files.
add_library(<name> [STATIC | SHARED | MODULE]
[EXCLUDE_FROM_ALL]
source1 source2 ... sourceN)
By default the library file will be created in the build tree directory corresponding to the source
tree directory in which the command was invoked. See documentation of the ARCHIVE_OUTPUT_DIRECTORY
, LIBRARY_OUTPUT_DIRECTORY
, and RUNTIME_OUTPUT_DIRECTORY
target properties to change this location.
Execute one or more child processes. Runs the given sequence of one or more commands with the standard output of each process piped to the standard input of the next.
Execute one or more child processes.
execute_process(COMMAND <cmd1> [args1...]]
[COMMAND <cmd2> [args2...] [...]]
[WORKING_DIRECTORY <directory>]
[TIMEOUT <seconds>]
[RESULT_VARIABLE <variable>]
[OUTPUT_VARIABLE <variable>]
[ERROR_VARIABLE <variable>]
[INPUT_FILE <file>]
[OUTPUT_FILE <file>]
[ERROR_FILE <file>]
[OUTPUT_QUIET]
[ERROR_QUIET]
[OUTPUT_STRIP_TRAILING_WHITESPACE]
[ERROR_STRIP_TRAILING_WHITESPACE])
ALL Indicate that this target should be added to the default build target so that it will be run every time (the command cannot be called ALL).