From 7413e6d8a870788817fd1aff80e4a472f03fab9d Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Sun, 28 Nov 2021 19:04:35 -0600 Subject: KDTree Wrapper --- CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..357a254 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.1) +project(kdlookup) + +# -Wall -O2 -march=native +set(CMAKE_CXX_FLAGS "-std=c++17 -g") + +add_executable( main main.cpp ) + +list( APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake_modules ) + +add_library( kdtree SHARED IMPORTED ) +set_target_properties( kdtree PROPERTIES IMPORTED_LOCATION /usr/local/lib/libkdtree.so ) + +TARGET_LINK_LIBRARIES(main kdtree) \ No newline at end of file -- cgit v1.2.3