build infra for third-party code

This commit is contained in:
mike@arpaia.co 2014-08-11 16:46:11 -07:00
parent 448459b24f
commit b23afd126b
2 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,12 @@ PROJECT(OSQUERY)
INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}")
INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/third-party/gtest-1.7.0/include")
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/third-party/gtest-1.7.0")
INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/third-party/rocksdb/include")
LINK_DIRECTORIES("${CMAKE_SOURCE_DIR}/third-party/rocksdb")
SET(CMAKE_C_FLAGS "-std=c99")
SET(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++")
SET(GEN_TABLE_PATH "${CMAKE_SOURCE_DIR}/tools/gentable.py")

1
third-party Submodule

@ -0,0 +1 @@
Subproject commit 548c7833c6720ffd15eca723fed08989e1ba0271