-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
38 lines (25 loc) · 1.26 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
cmake_minimum_required(VERSION 3.5)
message(STATUS "Building using CMake version: ${CMAKE_VERSION}")
project( ParquetTimingTest )
if(NOT DEFINED CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
find_package(Parquet REQUIRED)
link_libraries( Threads::Threads )
link_libraries( Parquet::parquet_static )
add_library(EncoderRoundtrip STATIC src/EncoderRoundtripTest.cpp)
#This is just a playground atm TODO: move relevant parts of working tests to a git-repository
add_executable( EncoderThroughput src/EncoderThroughput.cpp )
target_link_libraries(EncoderThroughput EncoderRoundtrip)
add_executable( EncoderRandThroughput src/EncoderRandThroughput.cpp )
target_link_libraries(EncoderRandThroughput EncoderRoundtrip)
add_executable( EncoderRand32BitThroughput src/EncoderRand32BitThroughput.cpp )
target_link_libraries(EncoderRand32BitThroughput EncoderRoundtrip)
add_executable( EncoderScaling src/EncoderScaling.cpp )
target_link_libraries(EncoderScaling EncoderRoundtrip)
add_executable( EncoderTestFromFile src/EncoderTestFromParquetData.cpp )
target_link_libraries(EncoderTestFromFile EncoderRoundtrip)
add_executable( MemcpyPositiveTest src/MemcpyPositivtest.cpp)