mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
rename0
This commit is contained in:
77
DataBaseInterface/CMakeLists.txt
Normal file
77
DataBaseInterface/CMakeLists.txt
Normal file
@@ -0,0 +1,77 @@
|
||||
project(DataBaseInterface LANGUAGES CXX)
|
||||
|
||||
common_info_for_project(DataBaseInterface)
|
||||
|
||||
add_library(DataBaseInterface SHARED
|
||||
DataBaseLMS_global.h
|
||||
databaselms.cpp
|
||||
databaselms_tasks.cpp
|
||||
databaselms_groups.cpp
|
||||
databaselms_users.cpp
|
||||
databaselms_instructors.cpp
|
||||
databaselms_trainees.cpp
|
||||
databaselms_Postgresql.cpp
|
||||
databaselms.h
|
||||
interfacedatabaselms.cpp
|
||||
interfacedatabaselms.h
|
||||
basicentity.cpp
|
||||
basicentity.h
|
||||
user.cpp
|
||||
user.h
|
||||
instructor.cpp
|
||||
instructor.h
|
||||
trainee.cpp
|
||||
trainee.h
|
||||
group.cpp
|
||||
group.h
|
||||
computer.cpp
|
||||
computer.h
|
||||
classroom.cpp
|
||||
classroom.h
|
||||
tasksAmmFim.cpp
|
||||
tasksAmmFim.h
|
||||
typeQueryToDB.h
|
||||
timingoftrainee.cpp
|
||||
timingoftrainee.h
|
||||
contactModel.h
|
||||
hashtools.cpp
|
||||
hashtools.h
|
||||
DataBaseInterface.qrc
|
||||
)
|
||||
|
||||
target_link_libraries(DataBaseInterface PRIVATE Qt5::Widgets)
|
||||
target_link_libraries(DataBaseInterface PRIVATE Qt5::Sql)
|
||||
target_link_libraries(DataBaseInterface PRIVATE Qt5::Xml)
|
||||
|
||||
target_compile_definitions(DataBaseInterface PRIVATE DATABASELMS_LIBRARY)
|
||||
|
||||
if(PROJECT_TYPE_DEBUG)
|
||||
|
||||
add_custom_command(TARGET DataBaseInterface
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${REPO_PATH}/BUILDS/Debug64/DataBaseInterface/libDataBaseInterface.dll
|
||||
${REPO_PATH}/BUILDS/Debug64/ProgramServerMPS)
|
||||
|
||||
add_custom_command(TARGET DataBaseInterface
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${REPO_PATH}/BUILDS/Debug64/DataBaseInterface/libDataBaseInterface.dll
|
||||
${REPO_PATH}/BUILDS/Debug64/ProgramAWSinstructorMPS)
|
||||
else()
|
||||
|
||||
add_custom_command(TARGET DataBaseInterface
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${REPO_PATH}/BUILDS/Release64/DataBaseInterface/libDataBaseInterface.dll
|
||||
${REPO_PATH}/BUILDS/Release64/ProgramServerMPS)
|
||||
|
||||
add_custom_command(TARGET DataBaseInterface
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${REPO_PATH}/BUILDS/Release64/DataBaseInterface/libDataBaseInterface.dll
|
||||
${REPO_PATH}/BUILDS/Release64/ProgramAWSinstructorMPS)
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user