File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ include_directories(${PROJECT_SOURCE_DIR}/)
8989if (UNIX )
9090set (CMAKE_C_COMPILER "/usr/bin/clang" )
9191set (CMAKE_CXX_COMPILER "/usr/bin/clang++" )
92- SET (CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0" )
92+ SET (CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -g " )
9393SET (CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 " )
9494set (CMAKE_CXX_STANDARD 11)
9595endif ()
@@ -614,11 +614,11 @@ else (WIN32)
614614target_link_libraries (cmdline base event)
615615endif (WIN32 )
616616
617- add_executable (log examples/log .cc)
617+ add_executable (logtest examples/log .cc)
618618if (WIN32 )
619- target_link_libraries (log base)
619+ target_link_libraries (logtest base)
620620else (WIN32 )
621- target_link_libraries (log base event)
621+ target_link_libraries (logtest base event)
622622endif (WIN32 )
623623
624624add_executable (path examples/path .cc)
You can’t perform that action at this time.
0 commit comments