added version management
This commit is contained in:
parent
246744b72a
commit
69b1f47c1f
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_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
configure_file (
|
||||
"SparrowConfig.h.in"
|
||||
"${PROJECT_BINARY_DIR}/Config.h"
|
||||
)
|
||||
|
||||
|
||||
#detect system and version
|
||||
if(WIN32)
|
||||
set(LIB_DEBUG_FOLDER "libDebug/win32")
|
||||
|
Loading…
x
Reference in New Issue
Block a user