Skip to content

Commit 720e192

Browse files
committed
w
1 parent 896f65d commit 720e192

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

hazelcast/test/src/CMakeLists.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
client_test
21+
PRIVATE hazelcast-cpp-client ${GTEST_TARGETS} thrift::thrift
22+
)

0 commit comments

Comments
 (0)