added CMakeLists.txt

This commit is contained in:
Jack Andersen 2015-07-06 17:11:25 -10:00
parent c3dc632dd0
commit 9f82371338
1 changed files with 8 additions and 0 deletions

8
CMakeLists.txt Normal file
View File

@ -0,0 +1,8 @@
include_directories(include)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
file(GLOB LOG_VISOR_HEADERS include/LogVisor/*.hpp)
add_library(LogVisor
lib/LogVisor.cpp
${LOG_VISOR_HEADERS})
install(DIRECTORY include/LogVisor DESTINATION include/LogVisor)
set(LOG_VISOR_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "LogVisor include dir" FORCE)