removed 'lib' prefix from libraries (cmake does this for us automatically on UNIX)
This commit is contained in:
parent
66c4bdc356
commit
8472fec34d
|
@ -56,5 +56,4 @@ endif()
|
|||
include_directories(${inc})
|
||||
add_executable(synergyc ${src})
|
||||
target_link_libraries(synergyc
|
||||
libarch libbase libclient libcommon libio libmt libnet libplatform
|
||||
libserver libsynergy ${libs})
|
||||
arch base client common io mt net platform server synergy ${libs})
|
||||
|
|
|
@ -58,5 +58,4 @@ endif()
|
|||
include_directories(${inc})
|
||||
add_executable(synergys ${src})
|
||||
target_link_libraries(synergys
|
||||
libarch libbase libclient libcommon libio libmt libnet libplatform
|
||||
libserver libsynergy ${libs})
|
||||
arch base client common io mt net platform server synergy ${libs})
|
||||
|
|
|
@ -62,5 +62,4 @@ endif()
|
|||
include_directories(${inc})
|
||||
add_executable(integtests ${src})
|
||||
target_link_libraries(integtests
|
||||
libarch libbase libclient libcommon libio libmt libnet libplatform
|
||||
libserver libsynergy gtest ${libs})
|
||||
arch base client common io mt net platform server synergy gtest ${libs})
|
||||
|
|
|
@ -97,4 +97,4 @@ if (UNIX)
|
|||
endif()
|
||||
|
||||
include_directories(${inc})
|
||||
add_library(libarch STATIC ${src})
|
||||
add_library(arch STATIC ${src})
|
||||
|
|
|
@ -70,4 +70,4 @@ if (UNIX)
|
|||
endif()
|
||||
|
||||
include_directories(${inc})
|
||||
add_library(libbase STATIC ${src})
|
||||
add_library(base STATIC ${src})
|
||||
|
|
|
@ -45,9 +45,8 @@ if (UNIX)
|
|||
endif()
|
||||
|
||||
include_directories(${inc})
|
||||
add_library(libclient STATIC ${src})
|
||||
add_library(client STATIC ${src})
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(libclient
|
||||
libsynergy libio)
|
||||
target_link_libraries(client synergy io)
|
||||
endif()
|
||||
|
|
|
@ -31,4 +31,4 @@ if (UNIX)
|
|||
)
|
||||
endif()
|
||||
|
||||
add_library(libcommon STATIC ${src})
|
||||
add_library(common STATIC ${src})
|
||||
|
|
|
@ -44,4 +44,4 @@ if (UNIX)
|
|||
endif()
|
||||
|
||||
include_directories(${inc})
|
||||
add_library(libio STATIC ${src})
|
||||
add_library(io STATIC ${src})
|
||||
|
|
|
@ -48,4 +48,4 @@ if (UNIX)
|
|||
endif()
|
||||
|
||||
include_directories(${inc})
|
||||
add_library(libmt STATIC ${src})
|
||||
add_library(mt STATIC ${src})
|
||||
|
|
|
@ -60,9 +60,8 @@ if (UNIX)
|
|||
endif()
|
||||
|
||||
include_directories(${inc})
|
||||
add_library(libnet STATIC ${src})
|
||||
add_library(net STATIC ${src})
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(libnet
|
||||
libmt libio)
|
||||
target_link_libraries(net mt io)
|
||||
endif()
|
||||
|
|
|
@ -104,13 +104,12 @@ if (UNIX)
|
|||
endif()
|
||||
|
||||
include_directories(${inc})
|
||||
add_library(libplatform STATIC ${src})
|
||||
add_library(platform STATIC ${src})
|
||||
|
||||
if (WIN32)
|
||||
add_library(synrgyhk SHARED ${inc_hook} ${src_hook})
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(libplatform
|
||||
libsynergy)
|
||||
target_link_libraries(platform synergy)
|
||||
endif()
|
||||
|
|
|
@ -64,9 +64,8 @@ if (UNIX)
|
|||
endif()
|
||||
|
||||
include_directories(${inc})
|
||||
add_library(libserver STATIC ${src})
|
||||
add_library(server STATIC ${src})
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(libserver
|
||||
libsynergy)
|
||||
target_link_libraries(server synergy)
|
||||
endif()
|
||||
|
|
|
@ -90,9 +90,8 @@ if (UNIX)
|
|||
endif()
|
||||
|
||||
include_directories(${inc})
|
||||
add_library(libsynergy STATIC ${src})
|
||||
add_library(synergy STATIC ${src})
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(libsynergy
|
||||
libarch libclient libnet libbase libplatform libmt libserver)
|
||||
target_link_libraries(synergy arch client net base platform mt server)
|
||||
endif()
|
||||
|
|
|
@ -40,5 +40,4 @@ endif()
|
|||
include_directories(${inc})
|
||||
add_executable(unittests ${src})
|
||||
target_link_libraries(unittests
|
||||
libarch libbase libclient libcommon libio libmt libnet libplatform
|
||||
libserver libsynergy gtest ${libs})
|
||||
arch base client common io mt net platform server synergy gtest ${libs})
|
||||
|
|
Loading…
Reference in New Issue