Add test for gui

This commit is contained in:
Andy Cedilnik 2002-09-19 17:35:59 -04:00
parent 3001a9ae80
commit 0415b0db75
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,12 @@ IF ( CMAKE_WX_CAN_COMPILE )
INSTALL_TARGETS(/bin wxCMakeSetup) 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 ) ELSE ( CMAKE_WX_CAN_COMPILE )
MESSAGE("Cannot find wxWindows libraries and/or header files") MESSAGE("Cannot find wxWindows libraries and/or header files")