e7f5bd4c21
Summary: antlr integration, *.hpp and *.cpp inside src dir, cleanup Test Plan: manual Reviewers: mislav.bradac, dgleich, florijan Reviewed By: florijan Subscribers: pullbot, buda Differential Revision: https://phabricator.memgraph.io/D49
27 lines
777 B
CMake
27 lines
777 B
CMake
cmake_minimum_required(VERSION 3.1)
|
|
|
|
# setup antlr
|
|
option(WITH_LIBCXX "" OFF) # because of debian bug
|
|
# http://stackoverflow.com/questions/37096062/get-a-basic-c-program-to-compile-using-clang-on-ubuntu-16/38385967#38385967
|
|
add_subdirectory(antlr4/runtime/Cpp)
|
|
|
|
# setup google benchmark
|
|
add_subdirectory(benchmark)
|
|
|
|
# setup cppitertools
|
|
include_directories(cppitertools)
|
|
|
|
# setup fmt format
|
|
# fmt uses google test but if fmt isn't top project (here it isn't) fmt tests
|
|
# are disabled (reasonable configuration)
|
|
add_subdirectory(fmt)
|
|
|
|
# setup google test
|
|
add_subdirectory(googletest)
|
|
|
|
# setup yaml cpp
|
|
# disable tests because yaml doesn't have MASTER_PROJECT flag like fmt has
|
|
# to override an option use option :)
|
|
option(YAML_CPP_BUILD_TOOLS "" OFF)
|
|
add_subdirectory(yaml-cpp)
|