-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
20 lines (14 loc) · 843 Bytes
/
CMakeLists.txt
File metadata and controls
20 lines (14 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set(ID_GEN_SRC IncrementalConcurrentIdGenerator.cpp)
add_library(libidgenerator STATIC ${ID_GEN_SRC})
target_include_directories(libidgenerator PUBLIC ../../include/infrastructure)
set(REPOSITORY_HDR infrastructure/StudentRepository.h)
set(REPOSITORY_SRC StudentRepository.cpp)
add_library(libstudentrepository STATIC ${REPOSITORY_SRC})
target_include_directories(libstudentrepository PUBLIC ../../include/infrastructure)
target_link_libraries(libstudentrepository libstudent)
set(CONTROLLER_HDR infrastructure/StudentController.h)
set(CONTROLLER_SRC StudentController.cpp)
add_library(libstudentcontroller STATIC ${CONTROLLER_SRC})
target_include_directories(libstudentcontroller PUBLIC ../../include/infrastructure)
target_link_libraries(libstudentcontroller libstudent)
target_link_libraries(libstudentcontroller libstudentrepository)