From 98d808e49d6591a178c9da7e55de5413f8cb57b6 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Mon, 3 Oct 2016 23:19:51 +0200 Subject: [PATCH] removed boost example dir because it was almost empty --- examples/boost/CMakeLists.txt | 37 ----------------------------------- examples/boost/main.cpp | 8 -------- 2 files changed, 45 deletions(-) delete mode 100644 examples/boost/CMakeLists.txt delete mode 100644 examples/boost/main.cpp diff --git a/examples/boost/CMakeLists.txt b/examples/boost/CMakeLists.txt deleted file mode 100644 index 0669683..0000000 --- a/examples/boost/CMakeLists.txt +++ /dev/null @@ -1,37 +0,0 @@ -set(Boost_USE_STATIC_LIBS ON) -set(Boost_USE_MULTITHREADED ON) -set(Boost_USE_STATIC_RUNTIME OFF) -find_package(Boost 1.55 REQUIRED COMPONENTS thread system) - -if(NOT Boost_FOUND) - message( FATAL_ERROR "boost must be installed") -endif() - -include_directories(${Boost_INCLUDE_DIRS}) - -set(SRC main.cpp) - -if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") -set(SPECIFIC_HOST_LIBS rt pthread) -else() -set(SPECIFIC_HOST_LIBS) -endif() - -set(LIBS -${Boost_LIBRARIES} -amqp-cpp -) - -include_directories(SYSTEM ${CRYPTLIB_INCLUDE_PATH}) -link_directories(${Boost_LIBRARY_PATH}) - -include_directories(SYSTEM ${AMQP-CPP_INCLUDE_PATH}) - -add_executable(amqp_boost_test ${SRC}) -target_link_libraries(amqp_boost_test ${LIBS} ${SPECIFIC_HOST_LIBS}) - -install(TARGETS amqp_boost_test - RUNTIME DESTINATION bin - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib -) diff --git a/examples/boost/main.cpp b/examples/boost/main.cpp deleted file mode 100644 index 0dd80bc..0000000 --- a/examples/boost/main.cpp +++ /dev/null @@ -1,8 +0,0 @@ -#include - -int main(int argc, const char* argv[]) -{ - - - return 0; -} \ No newline at end of file