1
0
mirror of https://github.com/GOSTSec/poolserver synced 2025-01-15 09:09:59 +00:00
poolserver/cmake/showoptions.cmake
2013-07-23 16:41:24 +03:00

43 lines
1.0 KiB
CMake

# output generic information about the core and buildtype chosen
message("")
# message("* PoolServer revision : ${rev_hash} ${rev_date} (${rev_branch} branch)")
if( UNIX )
message("* Buildtype : ${CMAKE_BUILD_TYPE}")
endif()
message("")
# output information about installation-directories and locations
message("* Install core to : ${CMAKE_INSTALL_PREFIX}")
message("")
# Show infomation about the options selected during configuration
if(POOLSERVER)
message("* Build Pool Server : Yes (default)")
else()
message("* Build Pool Server : No")
endif()
if(STRATUM)
message("* Build with Stratum : Yes (default)")
add_definitions(-DWITH_STRATUM)
else()
message("* Build with Stratum : No")
endif()
if(STATSSERVER)
message("* Build Stats Server : Yes (default)")
else()
message("* Build Stats Server : No")
endif()
if( MYSQL )
message("* Use MySQL database : Yes (default)")
add_definitions(-DWITH_MYSQL)
else()
message("* Use MySQL database : No")
endif()
message("")