dnomd343
3 years ago
13 changed files with 24 additions and 0 deletions
@ -0,0 +1,2 @@ |
|||||
|
/bin/ |
||||
|
/build/ |
@ -0,0 +1,6 @@ |
|||||
|
cmake_minimum_required(VERSION 2.8) |
||||
|
project(shadowsocks-bootstrap) |
||||
|
|
||||
|
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin) |
||||
|
|
||||
|
add_subdirectory(src) |
@ -0,0 +1,16 @@ |
|||||
|
cmake_minimum_required(VERSION 2.8) |
||||
|
|
||||
|
include_directories(${PROJECT_SOURCE_DIR}/include) |
||||
|
include_directories(/usr/lib64/glib-2.0/include) |
||||
|
include_directories(/usr/lib/glib-2.0/include) |
||||
|
include_directories(/usr/include/glib-2.0) |
||||
|
|
||||
|
aux_source_directory(${PROJECT_SOURCE_DIR}/src SRC) |
||||
|
list(REMOVE_ITEM SRC ${PROJECT_SOURCE_DIR}/src/local.c) |
||||
|
list(REMOVE_ITEM SRC ${PROJECT_SOURCE_DIR}/src/server.c) |
||||
|
|
||||
|
add_executable(ss-bootstrap-local local.c ${SRC}) |
||||
|
target_link_libraries(ss-bootstrap-local glib-2.0) |
||||
|
|
||||
|
add_executable(ss-bootstrap-server server.c ${SRC}) |
||||
|
target_link_libraries(ss-bootstrap-server glib-2.0) |
Loading…
Reference in new issue