0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 16:11:02 +08:00

Specified output directory for the libraries

This commit is contained in:
Sergey Yagovtsev 2016-02-18 00:47:41 +03:00
parent d643242885
commit f4e3a83390

View File

@ -6,17 +6,25 @@ set(
${CMAKE_CURRENT_LIST_DIR}
)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY
set(OUTPUT_DIR
${ROOT}/bin
)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY
${OUTPUT_DIR}
)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY
${OUTPUT_DIR}
)
include_directories(
include
)
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)