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})
|
|
|
|
|
2017-02-14 21:22:26 +03:00
|
|
|
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)
|
2017-02-14 21:22:26 +03:00
|
|
|
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})
|