mirror of https://github.com/GOSTSec/poolserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1009 B
37 lines
1009 B
|
|
file(GLOB_RECURSE sources_Configuration Configuration/*.cpp Configuration/*.h) |
|
file(GLOB_RECURSE sources_MySQL MySQL/*.cpp MySQL/*.h) |
|
file(GLOB_RECURSE sources_Logging Logging/*.cpp Logging/*.h) |
|
file(GLOB_RECURSE sources_JSON JSON/*.cpp JSON/*.h) |
|
file(GLOB_RECURSE sources_JSONRPC JSONRPC/*.cpp JSONRPC/*.h) |
|
file(GLOB_RECURSE sources_Gostcoin Gostcoin/*.cpp Gostcoin/*.h) |
|
|
|
file(GLOB sources_localdir *.cpp *.h) |
|
|
|
set(sources_Shared |
|
${sources_Configuration} |
|
${sources_MySQL} |
|
${sources_Logging} |
|
${sources_JSON} |
|
${sources_JSONRPC} |
|
${sources_Gostcoin} |
|
${sources_localdir} |
|
) |
|
|
|
include_directories( |
|
${CMAKE_CURRENT_SOURCE_DIR} |
|
${CMAKE_CURRENT_SOURCE_DIR}/Configuration |
|
${CMAKE_CURRENT_SOURCE_DIR}/MySQL |
|
${CMAKE_CURRENT_SOURCE_DIR}/Logging |
|
${CMAKE_CURRENT_SOURCE_DIR}/JSON |
|
${CMAKE_CURRENT_SOURCE_DIR}/JSONRPC |
|
${CMAKE_CURRENT_SOURCE_DIR}/Gostcoin |
|
${Boost_INCLUDE_DIR} |
|
${MYSQL_INCLUDE_DIR} |
|
${GMP_INCLUDE_DIR} |
|
${OPENSSL_INCLUDE_DIR} |
|
) |
|
|
|
add_library(shared STATIC |
|
${sources_Shared} |
|
)
|
|
|