summaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-05-29 12:21:44 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-05-29 12:21:44 (GMT)
commit4799b35d2457f1cfc746701ea347c89ae9887ca9 (patch)
tree9501ae8cd763b8e5270cc9eeab9fbf7f0527d8a2 /test/CMakeLists.txt
parent361ce4a22955490e13adbd40eb594808142169a6 (diff)
downloaduscxml-4799b35d2457f1cfc746701ea347c89ae9887ca9.zip
uscxml-4799b35d2457f1cfc746701ea347c89ae9887ca9.tar.gz
uscxml-4799b35d2457f1cfc746701ea347c89ae9887ca9.tar.bz2
Fixed issue 140
Lua table madness
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index efbc2fa..e76e249 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -64,6 +64,10 @@ USCXML_TEST_COMPILE(NAME test-lifecycle LABEL general/test-lifecycle FILES src/t
USCXML_TEST_COMPILE(NAME test-validating LABEL general/test-validating FILES src/test-validating.cpp)
USCXML_TEST_COMPILE(NAME test-snippets LABEL general/test-snippets FILES src/test-snippets.cpp)
+if(WITH_DM_LUA)
+ USCXML_TEST_COMPILE(NAME test-lua-tables LABEL general/test-lua-tables FILES src/test-lua-tables.cpp)
+endif()
+
if (NOT BUILD_AS_PLUGINS)
USCXML_TEST_COMPILE(
NAME test-serialization
@@ -109,7 +113,6 @@ if (TARGET csharp)
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin
COMMENT "Compiling C# TestStatePass"
)
- add_dependencies(testStatePassCSharp csharp)
else()
ADD_CUSTOM_TARGET(testStatePassCSharp ALL
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/bin/csharp
@@ -123,8 +126,10 @@ if (TARGET csharp)
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin
COMMENT "Compiling C# TestStatePass"
)
- add_dependencies(testStatePassCSharp csharp)
endif()
+ add_dependencies(testStatePassCSharp csharp)
+ set_target_properties(testStatePassCSharp PROPERTIES FOLDER "Tests")
+
endif()
if (WIN32 AND BUILD_SHARED_LIBS)