osquery-1/tools/CMakeLists.txt
2014-09-09 21:37:08 -07:00

20 lines
654 B
CMake

ADD_EXECUTABLE(flag_test flag_test.cpp)
TARGET_LINK_LIBRARIES(flag_test gflags glog)
SET_TARGET_PROPERTIES(flag_test PROPERTIES COMPILE_FLAGS ${OS_COMPILE_FLAGS})
ADD_TEST(flag_test flag_test
--config_retriever="foo"
--config_path="bar"
--log_receiver="baz"
--log_path="boo")
ADD_EXECUTABLE(registry_test registry_test.cpp)
TARGET_LINK_LIBRARIES(registry_test osquery_shared)
SET_TARGET_PROPERTIES(registry_test PROPERTIES COMPILE_FLAGS ${OS_COMPILE_FLAGS})
ADD_TEST(registry_test registry_test)
ADD_EXECUTABLE(run run.cpp)
TARGET_LINK_LIBRARIES(run osquery_shared)
SET_TARGET_PROPERTIES(run PROPERTIES COMPILE_FLAGS ${OS_COMPILE_FLAGS})