Skip to content

Commit

Permalink
Add cmake target of libshadowsocks-libev.la
Browse files Browse the repository at this point in the history
  • Loading branch information
Noisyfox committed Apr 10, 2017
1 parent db893a5 commit 2a1c73a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ add_executable(ss_tunnel ${SOURCE_FILES_TUNNEL})
add_executable(ss_server ${SOURCE_FILES_SERVER})
add_executable(ss_manager ${SOURCE_FILES_MANAGER})
add_executable(ss_redir ${SOURCE_FILES_REDIR})
add_library(libshadowsocks-libev ${SOURCE_FILES_LOCAL})

set_target_properties(ss_local PROPERTIES
COMPILE_DEFINITIONS MODULE_LOCAL
Expand All @@ -91,6 +92,10 @@ set_target_properties(ss_manager PROPERTIES
set_target_properties(ss_redir PROPERTIES
COMPILE_DEFINITIONS MODULE_REDIR
)
target_compile_definitions(libshadowsocks-libev
PRIVATE MODULE_LOCAL LIB_ONLY
)
set_target_properties(libshadowsocks-libev PROPERTIES SUFFIX ".la")

set (ss_lib_common
ev
Expand Down

0 comments on commit 2a1c73a

Please sign in to comment.