From 74a94a465fbec0f03ea4073fa627674217bc830e Mon Sep 17 00:00:00 2001 From: Christien Rioux Date: Sat, 12 Dec 2015 20:09:13 -0800 Subject: [PATCH] rebrand --- CMakeLists.txt | 18 +++++++++--------- .../{lc/lc.vcxproj => tlc/tlc.vcxproj} | 0 ...turbo-linecount.sln => turbo_linecount.sln} | 6 +++--- .../turbo_linecount.vcxproj} | 0 .../turbo_linecount_static.vcxproj} | 0 5 files changed, 12 insertions(+), 12 deletions(-) rename build_vs2013/{lc/lc.vcxproj => tlc/tlc.vcxproj} (100%) rename build_vs2013/{turbo-linecount.sln => turbo_linecount.sln} (82%) rename build_vs2013/{linecount/linecount.vcxproj => turbo_linecount/turbo_linecount.vcxproj} (100%) rename build_vs2013/{linecount_static/linecount_static.vcxproj => turbo_linecount_static/turbo_linecount_static.vcxproj} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f4dd01..f780cc2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0) -PROJECT (turbo-linecount) +PROJECT (turbo_linecount) IF(MSVC) SET(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "limited configs" FORCE) @@ -12,21 +12,21 @@ ELSE() ADD_DEFINITIONS(-D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64) ENDIF() -ADD_LIBRARY (linecount SHARED src/turbo_linecount.cpp src/turbo_linecount.h) -ADD_LIBRARY (linecount_static STATIC src/turbo_linecount.cpp src/turbo_linecount.h) -ADD_EXECUTABLE (lc src/main.cpp) +ADD_LIBRARY (turbo_linecount SHARED src/turbo_linecount.cpp src/turbo_linecount.h) +ADD_LIBRARY (turbo_linecount_static STATIC src/turbo_linecount.cpp src/turbo_linecount.h) +ADD_EXECUTABLE (tlc src/main.cpp) IF(THREADS_HAVE_PTHREAD_ARG) - SET_PROPERTY(TARGET lc PROPERTY COMPILE_OPTIONS "-pthread") - SET_PROPERTY(TARGET lc PROPERTY INTERFACE_COMPILE_OPTIONS "-pthread") + SET_PROPERTY(TARGET tlc PROPERTY COMPILE_OPTIONS "-pthread") + SET_PROPERTY(TARGET tlc PROPERTY INTERFACE_COMPILE_OPTIONS "-pthread") ENDIF() -TARGET_LINK_LIBRARIES (lc linecount_static ${CMAKE_THREAD_LIBS_INIT}) +TARGET_LINK_LIBRARIES (tlc turbo_linecount_static ${CMAKE_THREAD_LIBS_INIT}) -INSTALL(TARGETS lc +INSTALL(TARGETS tlc DESTINATION "bin" ) -INSTALL(TARGETS linecount linecount_static +INSTALL(TARGETS turbo_linecount turbo_linecount_static DESTINATION "lib" ) INSTALL(FILES src/turbo_linecount.h diff --git a/build_vs2013/lc/lc.vcxproj b/build_vs2013/tlc/tlc.vcxproj similarity index 100% rename from build_vs2013/lc/lc.vcxproj rename to build_vs2013/tlc/tlc.vcxproj diff --git a/build_vs2013/turbo-linecount.sln b/build_vs2013/turbo_linecount.sln similarity index 82% rename from build_vs2013/turbo-linecount.sln rename to build_vs2013/turbo_linecount.sln index 4c510b1..b03517f 100644 --- a/build_vs2013/turbo-linecount.sln +++ b/build_vs2013/turbo_linecount.sln @@ -3,11 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 VisualStudioVersion = 12.0.31101.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lc", "lc\lc.vcxproj", "{E5D80D5A-FDE6-44FE-9E97-DF3D470DD5E9}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tlc", "tlc\tlc.vcxproj", "{E5D80D5A-FDE6-44FE-9E97-DF3D470DD5E9}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "linecount", "linecount\linecount.vcxproj", "{76AA0AD7-A400-467D-8D9D-12D787043C0A}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "turbo_linecount", "turbo_linecount\turbo_linecount.vcxproj", "{76AA0AD7-A400-467D-8D9D-12D787043C0A}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "linecount_static", "linecount_static\linecount_static.vcxproj", "{C6E64E54-0635-4A2B-B404-145EA82A761F}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "turbo_linecount_static", "turbo_linecount_static\turbo_linecount_static.vcxproj", "{C6E64E54-0635-4A2B-B404-145EA82A761F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/build_vs2013/linecount/linecount.vcxproj b/build_vs2013/turbo_linecount/turbo_linecount.vcxproj similarity index 100% rename from build_vs2013/linecount/linecount.vcxproj rename to build_vs2013/turbo_linecount/turbo_linecount.vcxproj diff --git a/build_vs2013/linecount_static/linecount_static.vcxproj b/build_vs2013/turbo_linecount_static/turbo_linecount_static.vcxproj similarity index 100% rename from build_vs2013/linecount_static/linecount_static.vcxproj rename to build_vs2013/turbo_linecount_static/turbo_linecount_static.vcxproj