From 0415b0db75643e3d0532a2d539b07c4d864b9097 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 19 Sep 2002 17:35:59 -0400 Subject: [PATCH] Add test for gui --- Source/WXDialog/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/WXDialog/CMakeLists.txt b/Source/WXDialog/CMakeLists.txt index 962e274b5..12bdefa77 100644 --- a/Source/WXDialog/CMakeLists.txt +++ b/Source/WXDialog/CMakeLists.txt @@ -29,6 +29,12 @@ IF ( CMAKE_WX_CAN_COMPILE ) INSTALL_TARGETS(/bin wxCMakeSetup) + IF(BUILD_TESTING) + ADD_TEST(wxCMakeSetupRunTest + ${CMake_BINARY_DIR}/Source/wxCMakeSetup + -Q -A:ON -B:${CMake_BINARY_DIR}/Tests/Simple + -H:${CMake_SOURCE_DIR}/Tests/Simple) + ENDIF(BUILD_TESTING) ELSE ( CMAKE_WX_CAN_COMPILE ) MESSAGE("Cannot find wxWindows libraries and/or header files")