CMakeLists.txt 1.08 KB
Newer Older
legoc's avatar
legoc committed
1
set(CMAKE_CXX_STANDARD 17)
legoc's avatar
legoc committed
2

legoc's avatar
legoc committed
3
4
add_executable(testendpoint TestEndpoint.cpp)

5
target_link_libraries(testendpoint PRIVATE
legoc's avatar
legoc committed
6
7
	cameo
	)
8
9
10
target_include_directories(testendpoint
  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../src/
  )
legoc's avatar
legoc committed
11
12
	
add_test(endpoint testendpoint)
13
14
15


add_executable(testapplicationidentity TestApplicationIdentity.cpp)
16
17
18
19
20
21
target_link_libraries(testapplicationidentity
  PRIVATE cameo
  )
target_include_directories(testapplicationidentity
  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../src/
  )
22
23
24
25
target_include_directories(testapplicationidentity
    SYSTEM PRIVATE ${Rapidjson_INCLUDE_DIRS}/
)

26
27
28
29
30
add_test(applicationidentity testapplicationidentity)


add_executable(testapplicationwithstarteridentity TestApplicationWithStarterIdentity.cpp)

31
target_link_libraries(testapplicationwithstarteridentity PRIVATE
32
33
	cameo
	)
34
35
36
target_include_directories(testapplicationwithstarteridentity
  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../src/
  )
37
38
39
target_include_directories(testapplicationwithstarteridentity
    SYSTEM PRIVATE ${Rapidjson_INCLUDE_DIRS}/
)
40
41
	
add_test(applicationwithstarteridentity testapplicationwithstarteridentity)