| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
944b90b add testcases for while()/endwhile() errors
f605b92 improve error message on a stray "endwhile()"
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
9271d2f AllFindModules test: once again expand version checking
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
2557a08 Fix typo in error message, and remove redundent test.
9090572 Add ability to include a file in a project via a cache variable.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
If a variable exists called CMAKE_PROJECT_<projectName>_INCLUDE,
the file pointed to by that variable will be included as the last step
of the project command.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
eeaaffc find_package: Test error and warning messages in failure cases
52dffb9 Merge branch 'test-CMakeCommands' into find_package-improve-messages
d365104 find_package: Optionally warn when implicitly using Config mode
31ead5f find_package: Reject mixed use of MODULE- and CONFIG-only options
6d83083 find_package: mention requested version number in error message
9c39bbd find_package: add CONFIG mode keyword alias for NO_MODULE
f310f67 find_package: add MODULE mode to use only Find-modules
7d67dcf find_package: improve error message when no Find module is present
978d89b find_package: rename NoModule to UseFindModules
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add a "CMakeCommands.find_package" test to run CMake on a bunch of cases
in which find_package fails. Check that the process return code and
warning/error messages are as expected. Record expected test output in
corresponding files for reference by the check. These files will also
serve as a reference for the message text in each case.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
5e1a5c4 Add infrastructure for CMakeCommands tests
|
| |/ /
| | |
| | |
| | |
| | | |
Generalize the build_command test framework as a macro to add the
test. Process the CMakeCommands subdirectory explicitly.
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
${CMake_SOURCE_DIR} and ${CMake_BINARY_DIR} cannot be embedded into regex
directly. If they contain special regex metacharacters like +, the regex
will break. So just escape such metacharacters with a backslash before
embedding the path into the regex.
The issue affected the following tests: CTestTestConfigFileInBuildDir1 and
CTestTestConfigFileInBuildDir2.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
35c48e1 Check*.cmake: Expand imported targets in CMAKE_REQUIRED_LIBRARIES
61cb4ea bootstrap: move while() and endwhile() into the bootstrap build
c9f2886 -don't pull in CheckTypeSize.cmake from the cmake which is being built
628f365 -remove trailing whitespace
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add the function cmake_expand_imported_targets() to expand imported
targets in a list of libraries into their on-disk file names for a
particular configuration. Adapt the implementation from KDE's
HANDLE_IMPORTED_TARGETS_IN_CMAKE_REQUIRED_LIBRARIES which has been in
use for over 2 years. Call the function from all the Check*.cmake
macros to handle imported targets named in CMAKE_REQUIRED_LIBRARIES.
Alex
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
6749450 Do not build RPM if path of the build tree contains space
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
540db7e AllFindModules test: expect more modules to have a version number available
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
For all current build machines the modules FindPkgConfig, FindFreetype, and
FindLibXslt return a version number. Enforce this to early catch when this
is not always the case.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
70f3623 Find_library(): allow searching for versioned shared objects
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This did not work because find_library() did only treat the given name as
complete filename if is matched "PREFIX.*SUFFIX":
find_library(MYLIB libfoo.so.2)
Now it is also taken as a whole if the name matches "PREFIX.*SUFFIX\..*".
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
7ec2ebd fix the same typos as found by Debian in other places, too
d36d29f various typo and formatting fixes in manual pages (#12975)
|
| |/ / |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
2f306a9 AllFindModules test: do not enforce GNUPLOT version
|
| | |
| | |
| | |
| | |
| | | |
Ancient Gnuplot versions like 3.7.1 don't know about "--version". Disable this
check so it doesn't break on machines with this version.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We do not yet support "make install" in the external project case.
Document this explicitly in the interface. Require the caller to use an
option to "disable" the unsupported behavior. This will allow us to add
the behavior by default in the future without clobbering existing
projects that handle the installation themselves.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cmake_add_fortran_directory uses imported targets when using the
mingw fortran compiler. This change makes those targets global
in scope so they act just like the real targets that exist when
a fortran compiler exists and regular add_subdirectory is used.
|
| | |
| | |
| | |
| | |
| | | |
The ifort compiler found on some test machines does not support Mac
universal binaries or the Linux Standard Base.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The SunPro compiler does not add the fortran runtime library when
creating a shared fortran library. Link to the SunPro Fortran runtime
libraries explicitly.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix the implementation to allow full paths with spaces. Change the
interpretation of relative paths to be with respect to the current binary
directory. This matches the convention used in ExternalProject. Test
both full and relative paths in the VSGNUFortran test.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds a new module that allows for easy integration of MinGW
gfortran and the Visual Studio compiler. It is done in a function called
cmake_add_fortran_subdirectory. The patch also includes a test for this
feature.
|
|/ /
| |
| |
| |
| |
| | |
Define a "check_language(<lang>)" macro to test whether <lang> can be
enabled. Cache the result in CMAKE_<lang>_COMPILER. Add a test case
covering expected results.
|
|\ \
| | |
| | |
| | |
| | | |
daa4101 Remove unused test code
|
| | |
| | |
| | |
| | |
| | | |
We have not run tests with the "como" compiler or enabled the
experimental ConvLibrary test for years.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
7495845 Fix CXX/Fortran MODULE flags when enabled before C (#12929)
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If CXX or Fortran is enabled before C then the values of
CMAKE_SHARED_MODULE_C_FLAGS
CMAKE_SHARED_MODULE_CREATE_C_FLAGS
may not be available. On platforms where MODULE library (plugin) creation
is the same as SHARED library creation initialize the MODULE creation
flags from the SHARED creation flags of the matching language instead of
assuming that C has been enabled first.
Teach the COnly and CxxOnly tests to build MODULE libraries. The latter
covers this specific case.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
bf2e385 Tests: Update drop site value for the Trilinos contract test
|
| |/ / |
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
ed1b126 CMakeOnly.AllFindModules: require version for some modules
2dee929 CMakeOnly.AllFindModules: suppress two modules from testing
3c4b4ff CMakeOnly.AllFindModules: always check FindQt
9d72b25 CMakeOnly.AllFindModules: clean up the Qt3/Qt4 code
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
FindPackageHandleStandardArgs and FindPackageMessage match the glob
expression but are nothing that will usually be fed into find_package().
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
8de3b3d CheckCXXCompilerFlag test: make it a CMakeOnly test
|
| |/ / |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
54fd9e3 fix uninitialized var in if(NOT foo bar STREQUAL "foo bar")
|
| |/
| |
| |
| | |
Also adds test to verify this.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
98d2031 Fix BundleUtilities test failure with space in build path.
36d6641 Fix new BundleUtilities test failure on Mac 10.4.x
0d96dec GetPrerequisites: Add test for @rpath support.
880139a GetPrerequisites: Add support for @rpath on Mac OS X.
9a6b102 GetPrerequisites: Add support for @rpath on Mac OS X.
|
| | | |
|