feat: gitignore + path

This commit is contained in:
semenov
2025-01-10 12:42:18 +03:00
parent 9e6e9ace26
commit 703e25440c
15 changed files with 2268 additions and 723 deletions

View File

@@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.5)
project(InstructorsAndTrainees LANGUAGES CXX)
get_filename_component(PROJECT_PATH ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY)
get_filename_component(REPO_PATH ${PROJECT_PATH} DIRECTORY)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
@@ -117,7 +120,7 @@ target_compile_definitions(InstructorsAndTrainees PRIVATE INSTRUCTORSANDTRAINEES
target_include_directories(InstructorsAndTrainees PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../DB_LMS/DataBaseLMS)
if(PROJECT_TYPE_DEBUG)
target_link_directories(InstructorsAndTrainees PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../../QT/BUILDS/LMS/DB_LMS/Debug64)
target_link_directories(InstructorsAndTrainees PUBLIC ${REPO_PATH}/BUILDS/DB_LMS/Debug64)
elseif()
target_link_directories(InstructorsAndTrainees PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../../QT/BUILDS/LMS/DB_LMS/Release64)
endif()
@@ -127,8 +130,8 @@ target_link_libraries(InstructorsAndTrainees PRIVATE libDataBaseLMS.dll)
add_custom_command(TARGET InstructorsAndTrainees
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
d:/QT/BUILDS/LMS/DB_IaT/Debug64/libInstructorsAndTrainees.dll
d:/QT/BUILDS/LMS/GUIdataBaseLMS/Debug64)
${REPO_PATH}/BUILDS/DB_IaT/Debug64/libInstructorsAndTrainees.dll
${REPO_PATH}/BUILDS/GUIdataBaseLMS/Debug64)
#install(TARGETS InstructorsAndTrainees DESTINATION ${VEYON_LIB_DIR})