Permalink
Browse files

build the new executable

  • Loading branch information...
1 parent 7faa3a0 commit 1320a99dbe561f83f60610a218381ce92590d0ec @erikfrey erikfrey committed Aug 2, 2012
Showing with 7 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +6 −0 CMakeLists.txt
View
@@ -6,6 +6,7 @@ CMakeFiles
Makefile
cmake_install.cmake
# makefile output
+darner
bench_queue_flood
test
# sublimetext 2 stuff
View
@@ -14,6 +14,11 @@ ADD_DEFINITIONS(-Wall -Wno-return-type -O2 -g -DNDEBUG)
INCLUDE_DIRECTORIES(include /usr/local/include/thrift)
+ADD_EXECUTABLE(darner
+ src/log
+ src/main
+ )
+
ADD_EXECUTABLE(bench_queue_flood
bench/queue_flood
)
@@ -27,5 +32,6 @@ ADD_EXECUTABLE(test
FIND_PACKAGE(Boost 1.46.1 COMPONENTS thread system program_options unit_test_framework filesystem)
+TARGET_LINK_LIBRARIES(darner pthread ${Boost_LIBRARIES} leveldb)
TARGET_LINK_LIBRARIES(bench_queue_flood pthread ${Boost_LIBRARIES} leveldb)
TARGET_LINK_LIBRARIES(test pthread ${Boost_LIBRARIES} leveldb)

0 comments on commit 1320a99

Please sign in to comment.