diff --git a/CMakeLists.txt b/CMakeLists.txt index a001990..a9ae60c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,8 +6,16 @@ set( ${CMAKE_CURRENT_LIST_DIR} ) +set(OUTPUT_DIR + ${ROOT}/bin +) + set(CMAKE_RUNTIME_OUTPUT_DIRECTORY - ${ROOT}/bin + ${OUTPUT_DIR} +) + +set(CMAKE_LIBRARY_OUTPUT_DIRECTORY + ${OUTPUT_DIR} ) include_directories( @@ -16,7 +24,7 @@ include_directories( if(UNIX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -pedantic") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -pedantic" ) endif(UNIX) add_subdirectory(src)