File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.14)
22
3- project (scratchcpp-render VERSION 1.0 .0 LANGUAGES CXX)
3+ project (scratchcpp-render VERSION 0.5 .0 LANGUAGES CXX)
44
55set (CMAKE_INCLUDE_CURRENT_DIR ON )
66set (CMAKE_AUTOUIC ON )
@@ -17,6 +17,10 @@ qt_standard_project_setup(REQUIRES 6.6)
1717add_subdirectory (src)
1818
1919target_compile_definitions (scratchcpp-render PRIVATE SCRATCHCPPRENDER_LIBRARY)
20+ target_compile_definitions (scratchcpp-render PRIVATE SCRATCHCPPRENDER_VERSION="${PROJECT_VERSION} " )
21+ target_compile_definitions (scratchcpp-render PRIVATE SCRATCHCPPRENDER_VERSION_MAJOR=${PROJECT_VERSION_MAJOR} )
22+ target_compile_definitions (scratchcpp-render PRIVATE SCRATCHCPPRENDER_VERSION_MINOR=${PROJECT_VERSION_MINOR} )
23+ target_compile_definitions (scratchcpp-render PRIVATE SCRATCHCPPRENDER_VERSION_PATCH=${PROJECT_VERSION_PATCH} )
2024
2125linkQt(scratchcpp-render)
2226
You can’t perform that action at this time.
0 commit comments