mirror of https://github.com/AxioDL/logvisor.git
9 lines
386 B
CMake
9 lines
386 B
CMake
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)
|