-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
41 lines (38 loc) · 1.36 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
cmake_minimum_required(VERSION 3.0)
project(OpenMAMA_snapshot)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake)
set(CMAKE_CXX_STANDARD 14)
set(OPENMAMA_ROOT /opt/openmama)
message("OPENMAMA_ROOT=${OPENMAMA_ROOT}")
find_package(Poco REQUIRED Foundation Util Net)
include_directories("${OPENMAMA_ROOT}/include")
include_directories(.)
link_directories("${OPENMAMA_ROOT}/lib")
add_executable(cascadium-snapshot
main.cpp
MainApplication.cpp
MainApplication.h
OptionNames.h
subsystems/SubsystemServletRouter.cpp
subsystems/SubsystemServletRouter.h
subsystems/SubsystemOpenMama.cpp
subsystems/SubsystemOpenMama.h
subsystems/openmama/OpenMamaDictionaryRequestor.h
subsystems/openmama/OpenMamaStoreMessageListener.cpp
subsystems/openmama/OpenMamaStoreMessageListener.h
servlets/ServletOpenMamaServerSentEvents.cpp
servlets/ServletOpenMamaServerSentEvents.h
servlets/ServletOpenMamaSnapshot.cpp
servlets/ServletOpenMamaSnapshot.h
servlets/ServletRequestHandlerFactory.cpp
servlets/ServletRequestHandlerFactory.h
subsystems/SubsystemCommon.h
)
target_link_libraries(cascadium-snapshot
mama
mamacpp
mamda
mamdabook
${Poco_Foundation_LIBRARY}
${Poco_Util_LIBRARY}
${Poco_Net_LIBRARY})