2015-04-17 07:42:19 +03:00
|
|
|
if(NOT CMAKE_CONFIGURATION_TYPES)
|
|
|
|
set(CMAKE_BUILD_TYPE Debug)
|
|
|
|
endif()
|
2014-10-28 13:05:57 +03:00
|
|
|
include(ExternalProject)
|
|
|
|
|
2015-04-20 17:24:50 +03:00
|
|
|
ExternalProject_Add(FOO TMP_DIR "${CMAKE_CURRENT_BINARY_DIR}/tmp"
|
2014-10-28 13:05:57 +03:00
|
|
|
DOWNLOAD_COMMAND ""
|
2015-04-17 07:42:19 +03:00
|
|
|
CMAKE_CACHE_ARGS "-DFOO:STRING=$<1:BAR>$<0:BAD>"
|
|
|
|
CMAKE_CACHE_DEFAULT_ARGS "-DBAR:STRING=$<1:BAZ>$<0:BAD>")
|