0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-28 17:28:14 +08:00
easy_profiler/reader/CMakeLists.txt

22 lines
357 B
CMake
Raw Normal View History

2016-02-24 06:30:13 +03:00
project(profiler_reader)
set(CPP_FILES
2016-09-06 22:23:55 +03:00
main.cpp
2016-02-24 06:30:13 +03:00
)
set(SOURCES
2016-09-06 22:23:55 +03:00
${CPP_FILES}
2016-02-24 06:30:13 +03:00
)
add_executable(${PROJECT_NAME} ${SOURCES})
if(MINGW OR UNIX)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
endif(MINGW OR UNIX)
2016-02-24 06:30:13 +03:00
if(UNIX)
set(SPEC_LIB ${SPEC_LIB} pthread)
2016-02-24 06:30:13 +03:00
endif(UNIX)
2016-06-22 23:58:41 +03:00
target_link_libraries(${PROJECT_NAME} easy_profiler ${SPEC_LIB})