| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Add a `CMake_TEST_SERVER_MODE` option that can be set in testing builds
to enable/disable server mode tests explicitly. This will allow testing
in combination with `CMake_TEST_EXTERNAL_CMAKE` or for server mode to be
built on systems that have a python version that cannot run the test.
|
|
|
|
| |
The latter is a better name for making it a public-facing option.
|
|
|
|
| |
Provide a CMake_TEST_RESOURCES variable storing the decision.
|
|
|
|
|
| |
Co-Author: Damian Rouson <damian@sourceryinstitute.org>
Issue: #16234
|
|
|
|
|
| |
The main Fortran test is not granular enough. Split some into another
test.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
79eba4b7 Help: Add notes for topic 'bzip2-imported-targets'
069cac58 Tests: Add FindBZip2 unit tests
e9ce0503 FindBZip2: Add imported target
|
| | |
|
|/ |
|
|
|
|
| |
This will allow build failure cases to be added later.
|
|\
| |
| |
| |
| | |
bf09271b FindMatlab: adding handling of component "MAT"
|
| |
| |
| |
| |
| |
| | |
- documentation
- test
- cosmetic changes
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
39ac889d cmake: Add trivial usage of libuv
7cf369fe Do not build libuv on HP-UX
075cae51 Do not build libuv on SPARC
9a53af40 Do not build libuv on Cygwin
219f7411 Do not build libuv on Mac OS X 10.4 and lower
8a5beef3 Add option to build CMake against a system libuv
e56aa462 FindLibUV: Add module to find libuv package
551d5aed libuv: Fix unused variable warning in uv_loop_close
f4f8074b libuv: Avoid including macOS CoreServices header globally
a63aaaed libuv: Always include our own header first
9130b53a libuv: Conditionally declare Windows APIs for VS 2008 and below
b52afa46 libuv: Fix anonymous union syntax
05dbc204 libuv: Fix Windows API function typedef syntax
75139374 libuv: Install LICENSE file with CMake documentation
95dcc4e4 libuv: Disable warnings to avoid changing 3rd party code
13b7e758 libuv: Build the library within CMake
...
|
| |/
| |
| |
| |
| |
| | |
Add it to a private source directory that is not installed so that we
can use it for building CMake itself. This will allow it to mature
before being distributed publicly.
|
|/
|
|
|
|
|
| |
The Linux distro we've been using for this is so old that it limits our
ability to import newer third-party software. Until a new machine can
be configured to provide this binary we can simply drop it. Users will
still be able to build from source or use a distro-provided version.
|
|
|
|
| |
Use a loop instead of repeating the same thing multiple times.
|
|\
| |
| |
| |
| | |
a8345d65 ExternalProject: Add SOURCE_SUBDIR option
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a new SOURCE_SUBDIR option to ExternalProject_Add that allows
specifying the location of the CMakeLists.txt to use as the project root
relative to the SOURCE_DIR.
This is helpful for projects that have unusual layouts, or projects that
provide both a superbuild and project-only build depending on which
CMakeLists.txt is used.
Fixes: #15118
|
| | |
|
|\ \
| |/
| |
| |
| | |
15b3f6f0 ninja, rc: ignore CMAKE_NINJA_FORCE_RESPONSE_FILE for RC files
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In commit v3.6.0-rc1~174^2 (Ninja: Honor CMAKE_NINJA_FORCE_RESPONSE_FILE
for compile rules, 2016-04-06), Ninja learned to look for
`CMAKE_NINJA_FORCE_RESPONSE_FILE` in the current scope or the
environment in order to force response file usage for all compilation
rules.
However, on Windows, the RC compiler goes through cmcldeps which does a
`replace(output, output + ".dep.obj")` on the command line. However,
with a response file (which we name `output + ".rsp"`), the response
file path is replaced instead causing the compiler to (correctly)
complain that the response file `output + ".dep.obj.rsp"` does not
exist.
What needs to happen is for cmcldeps to look through the response file,
replace *its* contents and place it in the `output + ".dep.obj.rsp"`
file.
Also add a test which actually compiles an RC file into a library and
executable for all generators on Windows and additionally test
`CMAKE_NINJA_FORCE_RESPONSE_FILE` for Ninja generators.
Fixes #16167.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
0bd91ad4 UseJava: Fix race condition creating java class list
89df91b9 Help: Add notes for topic 'java-export-targets'
95d84369 Tests: Add test for exported JARs
5341c0d8 UseJava: Add infrastructure to export targets
d91ec044 Tests/Java: Clean up style of Java test code
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a unit test to test the new functions to export JAR targets. The
test builds three sub-projects: two that generate and export a JAR (one
does a build-directory-only export, one an install-only export), and a
third that consumes the first two as imported targets.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
adf4df28 Add FindVulkan.cmake.
|
| | |
| | |
| | |
| | | |
This adds FindVulkan with corresponding tests.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
63e5eb5f Help: Add notes for 'productbuild' topic
2e3c67d1 productbuild: Add new productbuild cpack generator.
50a3d340 PackageMaker: factor out common code for creating pkg files.
|
| |/
| |
| |
| | |
This cpack generator basically replaces the obsolete PackageMaker generator.
|
|/ |
|
|
|
|
|
| |
Green Hills MULTI project files must specify explicitly distinct object
file names for source files with the same name.
|
|
|
|
|
|
|
|
|
|
|
| |
Compile with `-D_WIN32_WINNT=0x502` to use a WinXP-compatible API.
Compile with `-D_USING_V110_SDK71_` to tell the VS standard library
headers that we are building with a WinXP-compatible Windows SDK. Link
executables with `-subsystem:console,5.02` to make them runnable on
Windows XP 64-bit. Ideally `cmake-gui` should instead be linked with
`-subsystem:windows,5.02` but with the Ninja and Makefile generators
CMake adds `-subsystem:windows` after our `-subsystem:console,5.02` flag
and the linker seems to interpret this combination as we need.
|
|
|
|
|
| |
The machine name we happen to use for the build is less informative than
its platform.
|
|\
| |
| |
| |
| |
| | |
b42866a3 Drop Visual Studio 6 generator
cd9ba3ec cmLocalVisualStudio7Generator: Fix name of helper function
|
| |
| |
| |
| |
| |
| | |
This generator has been deprecated since CMake 3.3. Remove it.
Update documentation, modules, and tests to drop content specific
to this generator.
|
|/ |
|
|
|
|
|
|
|
| |
Also detect the library version number. Provide results as variables
and as an imported target, LTTng::UST.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
|
|\
| |
| |
| |
| | |
b682debd Utilities/Release: Switch to OS X 10.7 and Qt 5.5 for Mac binary
|
| |
| |
| |
| |
| | |
Use a new build machine to produce the OS X binary targeting OS X 10.7
and using Qt 5.5.
|
|/
|
|
|
|
|
|
| |
We use the host OS X version as the deployment target for this test.
This breaks if the SDKROOT environment variable specifies an
incompatible SDK version. Explicitly specify `macosx` as the
SDK so that CMake will automatically select a version matching
the deployment target.
|
|\
| |
| |
| |
| | |
9b08c623 FindPNG: Create an imported PNG::PNG target (#15911)
|
| |
| |
| |
| |
| |
| | |
Imported targets are now the recommended way of dealing with external
library dependencies. Add one for FindPNG and update documentation
accordingly. Also add a test case activated by CMake_TEST_FindPNG.
|
|/ |
|
|
|
|
|
| |
Use a new build machine to produce the Windows binary using the CPack
WiX generator to produce a `.msi` installer.
|
| |
|
|\
| |
| |
| |
| | |
ebaca629 FindTIFF: Add imported targets and update documentation
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add TIFF::TIFF imported target
- Document imported target
- Add testcase to test the standard variables and the imported
target
Also:
- Add TIFF_INCLUDE_DIRS to match common practice
- Update documentation generally, including documenting
TIFF_INCLUDE_DIRS
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7a327727 Embarcadero: Fix erroneous interpretation of __CODEGEARC_VERSION__.
25211d75 Compiler ID: Compiler versions must be a valid, numeric version string.
060442c2 Embarcadero: Check code using CMAKE_CXX_COMPILER_ID and CMAKE_C_COMPILER_ID.
f3b3219c Embarcadero/Watcom: Properly skip VSResource test for other generators.
ddbda722 Embarcadero: Fix bug where duplicate Ninja job pools would be created.
|
| |/
| |
| |
| |
| | |
This test should be skipped based on the chosen compiler, not the chosen
generator.
|
|/
|
|
| |
Enable by setting CMake_TEST_FindBoost to TRUE.
|
|\
| |
| |
| |
| | |
5dcc833b FindXercesC: Add imported targets and unit test
|
| | |
|