Professional Documents
Culture Documents
CMake Lists
CMake Lists
8)
project(BitHack)
find_package(OpenSSL REQUIRED)
if(NOT OPENSSL_FOUND)
message(SEND_ERROR "Failed to find OpenSSL")
return()
else()
include_directories(${OPENSSL_INCLUDE_DIR})
endif()
find_package(Boost REQUIRED)
if(NOT Boost_FOUND)
message(SEND_ERROR "Failed to find Boost Format")
return()
else()
include_directories(${Boost_INCLUDE_DIRS})
endif()
set(SOURCE_EXE src/main.cpp
src/CKeyFactory.cpp
src/CKey.cpp)
add_executable(BitHack ${SOURCE_EXE})