forked from sony/nmos-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNmosCppRegistry.cmake
More file actions
31 lines (26 loc) · 827 Bytes
/
NmosCppRegistry.cmake
File metadata and controls
31 lines (26 loc) · 827 Bytes
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
# nmos-cpp-registry executable
set(NMOS_CPP_REGISTRY_SOURCES
nmos-cpp-registry/main.cpp
nmos-cpp-registry/registry_implementation.cpp
)
set(NMOS_CPP_REGISTRY_HEADERS
nmos-cpp-registry/registry_implementation.h
)
add_executable(
nmos-cpp-registry
${NMOS_CPP_REGISTRY_SOURCES}
${NMOS_CPP_REGISTRY_HEADERS}
nmos-cpp-registry/config.json
)
source_group("Source Files" FILES ${NMOS_CPP_REGISTRY_SOURCES})
source_group("Header Files" FILES ${NMOS_CPP_REGISTRY_HEADERS})
target_link_libraries(
nmos-cpp-registry
nmos-cpp::compile-settings
nmos-cpp::nmos-cpp
)
# root directory to find e.g. nmos-cpp-registry/registry_implementation.h
target_include_directories(nmos-cpp-registry PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}
)
list(APPEND NMOS_CPP_TARGETS nmos-cpp-registry)