removed 'lib' prefix from libraries (cmake does this for us automatically on UNIX)

This commit is contained in:
Nick Bolton 2011-04-25 22:21:32 +00:00
parent 66c4bdc356
commit 8472fec34d
14 changed files with 19 additions and 28 deletions

View File

@ -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})

View File

@ -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})

View File

@ -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})

View File

@ -97,4 +97,4 @@ if (UNIX)
endif()
include_directories(${inc})
add_library(libarch STATIC ${src})
add_library(arch STATIC ${src})

View File

@ -70,4 +70,4 @@ if (UNIX)
endif()
include_directories(${inc})
add_library(libbase STATIC ${src})
add_library(base STATIC ${src})

View File

@ -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()

View File

@ -31,4 +31,4 @@ if (UNIX)
)
endif()
add_library(libcommon STATIC ${src})
add_library(common STATIC ${src})

View File

@ -44,4 +44,4 @@ if (UNIX)
endif()
include_directories(${inc})
add_library(libio STATIC ${src})
add_library(io STATIC ${src})

View File

@ -48,4 +48,4 @@ if (UNIX)
endif()
include_directories(${inc})
add_library(libmt STATIC ${src})
add_library(mt STATIC ${src})

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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})