From 50e6eec7b1694c32650e2ee117aeba584997860d Mon Sep 17 00:00:00 2001 From: Matt Broadstone Date: Wed, 28 May 2014 12:31:22 -0400 Subject: [PATCH] remove old build files, added tests directory --- CMakeLists.txt | 74 ------ QAMQP.sln | 20 -- QAMQP.vcproj | 664 ------------------------------------------------ tests/tests.pro | 3 + 4 files changed, 3 insertions(+), 758 deletions(-) delete mode 100644 CMakeLists.txt delete mode 100644 QAMQP.sln delete mode 100644 QAMQP.vcproj create mode 100644 tests/tests.pro diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 5e57bb0..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,74 +0,0 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0) - -project(QAMQP) - -include(FindPkgConfig) -include(GNUInstallDirs) - -set(CMAKE_AUTOMOC ON) -set(SRC_DIR ${QAMQP_SOURCE_DIR}/src) -set(QAMQP_DIR ${SRC_DIR}/qamqp) - -# to pick up Qt5 macros -find_package(Qt5Core) - -set(libqamqp_HEADERS - ${QAMQP_DIR}/amqp_authenticator.h - ${QAMQP_DIR}/amqp_channel.h - ${QAMQP_DIR}/amqp_channel_p.h - ${QAMQP_DIR}/amqp_connection.h - ${QAMQP_DIR}/amqp_connection_p.h - ${QAMQP_DIR}/amqp_exchange.h - ${QAMQP_DIR}/amqp_exchange_p.h - ${QAMQP_DIR}/amqp_frame.h - ${QAMQP_DIR}/amqp_global.h - ${QAMQP_DIR}/amqp.h - ${QAMQP_DIR}/amqp_message.h - ${QAMQP_DIR}/amqp_p.h - ${QAMQP_DIR}/amqp_network.h - ${QAMQP_DIR}/amqp_queue.h - ${QAMQP_DIR}/amqp_queue_p.h - ) -set(libqamqp_SOURCES - ${libqamqp_HEADERS} - ${QAMQP_DIR}/amqp_authenticator.cpp - ${QAMQP_DIR}/amqp_channel.cpp - ${QAMQP_DIR}/amqp_connection.cpp - ${QAMQP_DIR}/amqp.cpp - ${QAMQP_DIR}/amqp_exchange.cpp - ${QAMQP_DIR}/amqp_frame.cpp - ${QAMQP_DIR}/amqp_network.cpp - ${QAMQP_DIR}/amqp_queue.cpp - ) - -set(test_client_SOURCES - ${SRC_DIR}/main.cpp - ${SRC_DIR}/QamqpApp.h - ${SRC_DIR}/pubsub/EmitLog.h - ${SRC_DIR}/pubsub/ReceiveLog.h - ${SRC_DIR}/routing/EmitLogDirect.h - ${SRC_DIR}/routing/ReceiveLogDirect.h - ${SRC_DIR}/sendreceive/Send.h - ${SRC_DIR}/sendreceive/Receive.h - ${SRC_DIR}/workqueues/NewTask.h - ${SRC_DIR}/workqueues/Worker.h - ) - -include_directories(${SRC_DIR}) -link_directories(${QAMQP_BINARY_DIR}) - -add_library(qamqp SHARED ${libqamqp_SOURCES}) -set_target_properties(qamqp PROPERTIES SOVERSION 0.2.0) -qt5_use_modules(qamqp Core Network) - - -add_executable(qamqp-test ${test_client_SOURCES}) -target_link_libraries(qamqp-test qamqp) -qt5_use_modules(qamqp-test Core Network) - -install(TARGETS qamqp-test qamqp - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) - -install(FILES ${libqamqp_HEADERS} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/qamqp) diff --git a/QAMQP.sln b/QAMQP.sln deleted file mode 100644 index 30e4eaf..0000000 --- a/QAMQP.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "QAMQP", "QAMQP.vcproj", "{479207E5-BC66-4954-A7E9-AE8DA7F2D7B9}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {479207E5-BC66-4954-A7E9-AE8DA7F2D7B9}.Debug|Win32.ActiveCfg = Debug|Win32 - {479207E5-BC66-4954-A7E9-AE8DA7F2D7B9}.Debug|Win32.Build.0 = Debug|Win32 - {479207E5-BC66-4954-A7E9-AE8DA7F2D7B9}.Release|Win32.ActiveCfg = Release|Win32 - {479207E5-BC66-4954-A7E9-AE8DA7F2D7B9}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/QAMQP.vcproj b/QAMQP.vcproj deleted file mode 100644 index e888b1e..0000000 --- a/QAMQP.vcproj +++ /dev/null @@ -1,664 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tests/tests.pro b/tests/tests.pro new file mode 100644 index 0000000..19b9c30 --- /dev/null +++ b/tests/tests.pro @@ -0,0 +1,3 @@ +TEMPLATE = subdirs +SUBDIRS = \ + qamqp