We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 896f65d commit 720e192Copy full SHA for 720e192
hazelcast/test/src/CMakeLists.txt
@@ -0,0 +1,22 @@
1
+cmake_minimum_required (VERSION 3.10)
2
+
3
+FILE(GLOB_RECURSE TEST_SOURCES "./*cpp")
4
+FILE(GLOB_RECURSE TEST_HEADERS "./*h")
5
6
+add_executable(client_test ${TEST_SOURCES} ${TEST_HEADERS})
7
8
+target_compile_definitions(
9
+ client_test
10
+ PRIVATE HAZELCAST_VERSION="${PROJECT_VERSION}"
11
+)
12
13
+if (MSVC)
14
+ target_compile_options(client_test PRIVATE /bigobj)
15
+endif()
16
17
+find_package(Thrift 0.13.0 REQUIRED)
18
19
+target_link_libraries(
20
21
+ PRIVATE hazelcast-cpp-client ${GTEST_TARGETS} thrift::thrift
22
0 commit comments