CMakeLists.txt 304 Bytes
cmake_minimum_required(VERSION 2.7)
set(CMAKE_VERBOSE_MAKEFILE on)

project(clock_gettime_testor)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g -O0")
include_directories(.)
aux_source_directory(. SRC_LIST)

add_executable(spdlog_sample ${SRC_LIST})
TARGET_LINK_LIBRARIES(spdlog_sample pthread)