Move headers to an include folder

This commit is contained in:
Spiros
2025-04-16 01:57:21 +03:00
parent c81c31acc3
commit 291002a53b
8 changed files with 6 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ endif()
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS ${QT_COMPONENTS})
file(GLOB_RECURSE PROJECT_SOURCES
src/*.h
include/*.h
src/*.cpp
src/*.ui
src/resources.qrc
@@ -65,6 +65,8 @@ if(CALL_LUPDATE)
add_dependencies(${PROJECT_NAME} update_translations)
endif()
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_compile_definitions(${PROJECT_NAME} PRIVATE
PROJECT_VERSION_MAJOR=${${PROJECT_NAME}_VERSION_MAJOR}
PROJECT_VERSION_MINOR=${${PROJECT_NAME}_VERSION_MINOR}