Merge branch 'master' of https://epicsparrow.com/epicsparrow/cmaketemplate
This commit is contained in:
commit
f300396f10
3
SparrowConfig.h.in
Normal file
3
SparrowConfig.h.in
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
// the configured options and settings for Tutorial
|
||||||
|
#define VERSION_MAJOR @VERSION_MAJOR@
|
||||||
|
#define VERSION_MINOR @VERSION_MINOR@
|
@ -13,6 +13,12 @@ set(CMAKE_AUTOMOC ON)
|
|||||||
set(CMAKE_AUTOUIC ON)
|
set(CMAKE_AUTOUIC ON)
|
||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||||
|
|
||||||
|
configure_file (
|
||||||
|
"SparrowConfig.h.in"
|
||||||
|
"${PROJECT_BINARY_DIR}/Config.h"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
#detect system and version
|
#detect system and version
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(LIB_DEBUG_FOLDER "libDebug/mingw32")
|
set(LIB_DEBUG_FOLDER "libDebug/mingw32")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user