Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
041d4688
Commit
041d4688
authored
Jul 13, 2005
by
Bill Hoffman
Browse files
ENH: add bundle test
parent
4214dd3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/CMakeLists.txt
View file @
041d4688
...
...
@@ -792,6 +792,16 @@ IF(BUILD_TESTING)
ENDIF
(
${
CMAKE_GENERATOR
}
MATCHES
"Visual Studio"
)
IF
(
APPLE AND CMAKE_COMPILER_IS_GNUCXX
)
ADD_TEST
(
BundleTest
${
CMAKE_CTEST_COMMAND
}
--build-and-test
"
${
CMake_SOURCE_DIR
}
/Tests/BundleTest"
"
${
CMake_BINARY_DIR
}
/Tests/BundleTest"
--build-two-config
--build-generator
${
CMAKE_GENERATOR
}
--build-makeprogram
${
MAKEPROGRAM
}
--build-project BundleTest
--test-command BundleTest.app/Contents/MacOS/BundleTest
)
ADD_TEST
(
objc++
${
CMAKE_CTEST_COMMAND
}
--build-and-test
"
${
CMake_SOURCE_DIR
}
/Tests/Objc++"
...
...
@@ -890,7 +900,7 @@ IF(BUILD_TESTING)
ENDIF
(
JNI_H
)
ENDIF
(
JAVA_COMPILE AND JAVA_RUNTIME AND JAVA_ARCHIVE
)
ENDIF
(
CMAKE_GENERATOR MATCHES
"Makefiles"
)
IF
(
CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE OR WXWINDOWS_INCLUDE_DIR
)
# Will be set if the wxwindows gui is on
ADD_TEST
(
UseWX
${
CMAKE_CTEST_COMMAND
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment