-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
17 lines (13 loc) · 795 Bytes
/
CMakeLists.txt
File metadata and controls
17 lines (13 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
project(AStar C CXX)
find_package(LLVM REQUIRED CONFIG)
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")
include_directories(${LLVM_INCLUDE_DIRS})
separate_arguments(LLVM_DEFINITIONS_LIST NATIVE_COMMAND ${LLVM_DEFINITIONS})
add_definitions(${LLVM_DEFINITIONS_LIST})
llvm_map_components_to_libnames(llvm_libs support core irreader)
include_directories(${LLVM_INCLUDE_DIRS})
link_libraries(${llvm_libs})
add_executable(astar bench_astar.cpp AStar.cpp)
target_link_libraries(astar PRIVATE folly double-conversion boost_program_options boost_context boost_filesystem boost_system boost_atomic.a gflags glog ssl crypto unwind fmt event dl tcmalloc)
#target_link_libraries(astar PRIVATE absl_raw_hash_set absl_low_level_hash absl_hash)