mirror of
https://github.com/crioux/turbo-linecount.git
synced 2024-10-27 17:24:01 +00:00
rebrand
This commit is contained in:
parent
3729fddcbd
commit
74a94a465f
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user