|
|
@ -88,9 +88,9 @@ function(createBuildInfo) |
|
|
|
# Generate header file containing useful build information |
|
|
|
add_custom_target(BuildInfo.h ALL |
|
|
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} |
|
|
|
COMMAND cmake -DETH_SOURCE_DIR=${CMAKE_SOURCE_DIR} -DETH_DST_DIR=${CMAKE_BINARY_DIR} |
|
|
|
-DETH_BUILD_TYPE=${_cmake_build_type} -DETH_BUILD_PLATFORM=${ETH_BUILD_PLATFORM} |
|
|
|
-P ${ETH_SCRIPTS_DIR}/buildinfo.cmake |
|
|
|
COMMAND cmake -DETH_SOURCE_DIR="${CMAKE_SOURCE_DIR}" -DETH_DST_DIR="${CMAKE_BINARY_DIR}" |
|
|
|
-DETH_BUILD_TYPE="${_cmake_build_type}" -DETH_BUILD_PLATFORM="${ETH_BUILD_PLATFORM}" |
|
|
|
-P "${ETH_SCRIPTS_DIR}/buildinfo.cmake" |
|
|
|
) |
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR}) |
|
|
|
|
|
|
|