From d60d5ea21a01e3600c4c9d46f78389487ea43ed0 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Fri, 4 Mar 2016 09:49:46 -1000 Subject: [PATCH] Target rename --- CMakeLists.txt | 10 +++++----- lib/{LogVisor.cpp => log.cpp} | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) rename lib/{LogVisor.cpp => log.cpp} (99%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 88491e2..90a99ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ include_directories(include) -add_library(LogVisor - lib/LogVisor.cpp - include/LogVisor/LogVisor.hpp) +add_library(log-visor + lib/log.cpp + include/log-visor/log.hpp) -set(LOG_VISOR_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "LogVisor include path" FORCE) +set(LOG_VISOR_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "log-visor include path" FORCE) -install(DIRECTORY include/LogVisor DESTINATION include/LogVisor) +install(DIRECTORY include/log-visor DESTINATION include/log-visor) diff --git a/lib/LogVisor.cpp b/lib/log.cpp similarity index 99% rename from lib/LogVisor.cpp rename to lib/log.cpp index 3c28212..88140d3 100644 --- a/lib/LogVisor.cpp +++ b/lib/log.cpp @@ -20,7 +20,7 @@ #include #include #include -#include "LogVisor/LogVisor.hpp" +#include "log-visor/log.hpp" /* ANSI sequences */ #define RED "\x1b[1;31m"