libftdi1
1.5
|
Functions | |
include_directories (BEFORE ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) set(SNAPSHOT_VERSION "unknown") execute_process(COMMAND git describe OUTPUT_VARIABLE GIT_DESCRIBE_OUTPUT RESULT_VARIABLE GIT_DESCRIBE_RESULT OUTPUT_STRIP_TRAILING_WHITESPACE) if($ | |
STREQUAL | set (SNAPSHOT_VERSION ${GIT_DESCRIBE_OUTPUT}) endif() message(STATUS "Detected git snapshot version |
configure_file (ftdi_version_i.h.in "${CMAKE_CURRENT_BINARY_DIR}/ftdi_version_i.h" @ONLY) set(c_sources $ | |
include_directories | ( | BEFORE ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} | ) |
Definition at line 2 of file src/CMakeLists.txt.
STREQUAL set | ( | SNAPSHOT_VERSION ${GIT_DESCRIBE_OUTPUT} | ) |
Definition at line 14 of file src/CMakeLists.txt.
configure_file | ( | ftdi_version_i.h.in "${CMAKE_CURRENT_BINARY_DIR}/ftdi_version_i.h" @ | ONLY | ) |
Definition at line 18 of file src/CMakeLists.txt.