summaryrefslogtreecommitdiff
path: root/Rx
diff options
context:
space:
mode:
authordaixtrose <seicento2012@gmx.de>2015-06-08 17:04:05 +0200
committerKirk Shoop <kirk.shoop@microsoft.com>2015-06-09 10:08:45 -0700
commite1bfc41a162a8c701921340e3fff0f20a12d55a5 (patch)
tree05975e678b80f4949e6259319cb4f74dec15e489 /Rx
parentff99d5ef176f38dd389616220415b74d0bf33e4c (diff)
downloadRxCpp-e1bfc41a162a8c701921340e3fff0f20a12d55a5.tar.gz
Modified CMake files to put all examples below one folder
This commit leads to crazy build problems
Diffstat (limited to 'Rx')
-rw-r--r--Rx/v2/examples/cep/CMakeLists.txt2
-rw-r--r--Rx/v2/examples/println/CMakeLists.txt2
-rw-r--r--Rx/v2/examples/pythagorian/CMakeLists.txt2
-rw-r--r--Rx/v2/examples/stop/CMakeLists.txt2
-rw-r--r--Rx/v2/examples/tests/CMakeLists.txt2
5 files changed, 10 insertions, 0 deletions
diff --git a/Rx/v2/examples/cep/CMakeLists.txt b/Rx/v2/examples/cep/CMakeLists.txt
index 542a858..c99c723 100644
--- a/Rx/v2/examples/cep/CMakeLists.txt
+++ b/Rx/v2/examples/cep/CMakeLists.txt
@@ -31,6 +31,8 @@ target_link_libraries(${SAMPLE_PROJECT} ${CMAKE_THREAD_LIBS_INIT})
enable_testing()
set(CTEST_CONFIGURATION_TYPE "${JOB_BUILD_CONFIGURATION}")
+set_target_properties(${SAMPLE_PROJECT} PROPERTIES FOLDER "Examples")
+
add_test(NAME RunTests
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMAND ${SAMPLE_PROJECT} ${TEST_ARGS})
diff --git a/Rx/v2/examples/println/CMakeLists.txt b/Rx/v2/examples/println/CMakeLists.txt
index 82cd2a4..3bf2979 100644
--- a/Rx/v2/examples/println/CMakeLists.txt
+++ b/Rx/v2/examples/println/CMakeLists.txt
@@ -29,6 +29,8 @@ target_link_libraries(${SAMPLE_PROJECT} ${CMAKE_THREAD_LIBS_INIT})
enable_testing()
set(CTEST_CONFIGURATION_TYPE "${JOB_BUILD_CONFIGURATION}")
+set_target_properties(${SAMPLE_PROJECT} PROPERTIES FOLDER "Examples")
+
add_test(NAME RunTests
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMAND ${SAMPLE_PROJECT} ${TEST_ARGS})
diff --git a/Rx/v2/examples/pythagorian/CMakeLists.txt b/Rx/v2/examples/pythagorian/CMakeLists.txt
index 82cd2a4..3bf2979 100644
--- a/Rx/v2/examples/pythagorian/CMakeLists.txt
+++ b/Rx/v2/examples/pythagorian/CMakeLists.txt
@@ -29,6 +29,8 @@ target_link_libraries(${SAMPLE_PROJECT} ${CMAKE_THREAD_LIBS_INIT})
enable_testing()
set(CTEST_CONFIGURATION_TYPE "${JOB_BUILD_CONFIGURATION}")
+set_target_properties(${SAMPLE_PROJECT} PROPERTIES FOLDER "Examples")
+
add_test(NAME RunTests
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMAND ${SAMPLE_PROJECT} ${TEST_ARGS})
diff --git a/Rx/v2/examples/stop/CMakeLists.txt b/Rx/v2/examples/stop/CMakeLists.txt
index 82cd2a4..3bf2979 100644
--- a/Rx/v2/examples/stop/CMakeLists.txt
+++ b/Rx/v2/examples/stop/CMakeLists.txt
@@ -29,6 +29,8 @@ target_link_libraries(${SAMPLE_PROJECT} ${CMAKE_THREAD_LIBS_INIT})
enable_testing()
set(CTEST_CONFIGURATION_TYPE "${JOB_BUILD_CONFIGURATION}")
+set_target_properties(${SAMPLE_PROJECT} PROPERTIES FOLDER "Examples")
+
add_test(NAME RunTests
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMAND ${SAMPLE_PROJECT} ${TEST_ARGS})
diff --git a/Rx/v2/examples/tests/CMakeLists.txt b/Rx/v2/examples/tests/CMakeLists.txt
index af849ff..690930d 100644
--- a/Rx/v2/examples/tests/CMakeLists.txt
+++ b/Rx/v2/examples/tests/CMakeLists.txt
@@ -30,6 +30,8 @@ target_link_libraries(${SAMPLE_PROJECT} ${CMAKE_THREAD_LIBS_INIT})
enable_testing()
set(CTEST_CONFIGURATION_TYPE "${JOB_BUILD_CONFIGURATION}")
+set_target_properties(${SAMPLE_PROJECT} PROPERTIES FOLDER "Examples")
+
add_test(NAME RunTests
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMAND ${SAMPLE_PROJECT} ${TEST_ARGS})