mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-29 20:05:38 +03:00
feat: gitignore + path
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user