We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9180314 commit c2efde9Copy full SHA for c2efde9
1 file changed
CMakeLists.txt
@@ -32,11 +32,11 @@ string(TIMESTAMP APP_BUILD_DATE "%Y-%m-%d %H:%M:%S")
32
# Configure version.h
33
configure_file(
34
${CMAKE_SOURCE_DIR}/version.h.in
35
- ${CMAKE_SOURCE_DIR}/src/version.h
+ ${CMAKE_BINARY_DIR}/version.h
36
@ONLY
37
)
38
39
-# Add the generated version.h to your include paths
+# Add the generated version.h to the include paths
40
include_directories(${CMAKE_BINARY_DIR})
41
42
# Add source files
@@ -60,4 +60,7 @@ target_link_libraries(${PROJECT_NAME} Qt5::Widgets)
60
# Set output directory (optional)
61
set_target_properties(${PROJECT_NAME} PROPERTIES
62
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
63
-)
+)
64
+
65
+# Clap de fin
66
+message(STATUS "Configuration of ${PROJECT_NAME} complete")
0 commit comments