0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 08:01:51 +08:00
easy_profiler/CMakeLists.txt

24 lines
384 B
CMake
Raw Normal View History

2016-02-16 23:21:12 +03:00
project(profiling_tool)
cmake_minimum_required(VERSION 2.8)
set(
ROOT
${CMAKE_CURRENT_LIST_DIR}
)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY
${ROOT}/bin
)
include_directories(
include
)
2016-02-17 23:24:35 +03:00
if(UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
2016-02-17 23:43:37 +03:00
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -pedantic")
2016-02-17 23:24:35 +03:00
endif(UNIX)
2016-02-16 23:21:12 +03:00
add_subdirectory(src)
2016-02-16 23:25:12 +03:00
add_subdirectory(sample)