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.
32 lines
699 B
32 lines
699 B
|
|
add_subdirectory(Database) |
|
|
|
file(GLOB_RECURSE sources_Configuration Configuration/*.cpp Configuration/*.h) |
|
file(GLOB_RECURSE sources_Logging Logging/*.cpp Logging/*.h) |
|
file(GLOB_RECURSE sources_Stratum Stratum/*.cpp Stratum/*.h) |
|
|
|
file(GLOB sources_localdir *.cpp *.h) |
|
|
|
set(sources_Shared |
|
${sources_Configuration} |
|
${sources_Database} |
|
${sources_Logging} |
|
${sources_Stratum} |
|
${sources_localdir} |
|
) |
|
|
|
include_directories( |
|
${CMAKE_CURRENT_SOURCE_DIR} |
|
${CMAKE_CURRENT_SOURCE_DIR}/Configuration |
|
${CMAKE_CURRENT_SOURCE_DIR}/Database |
|
${CMAKE_CURRENT_SOURCE_DIR}/Logging |
|
${MYSQL_INCLUDE_DIR} |
|
) |
|
|
|
add_library(shared STATIC |
|
${sources_Shared} |
|
) |
|
|
|
target_link_libraries(shared |
|
${ACE_LIBRARY} |
|
) |