| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Do not `find_package(GTK2)` by default, as it gives the impression that
CMake depends on it to build. We will set `CMake_TEST_FindGTK2` in the
cache of automated builds where GTK2 is expected to work.
|
|\
| |
| |
| |
| |
| |
| | |
7a1f3fe041 FindOctave: Remove module pending further work
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3027
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `FindOctave` module added by commit 170bcb6fdc (FindOctave: Add
module to find GNU octave, 2018-11-17, v3.14.0-rc1~283^2) has a few
problems in its implementation that need to be worked out before the
module can be included in a CMake release. These were missed during
review. Remove the module for now. It can be restored later with a
fresh review.
Issue: #18991
|
| |
| |
| |
| |
| |
| | |
If `CMake_TEST_EXTERNAL_CMAKE` is enabled then the compiler with which
we are driving tests may not be able to compile CMake, so do not try
to compile KWSys with it either.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Disable the system include unused variable test in ExportImport when
clang is in MSVC compatible mode.
* Disable CxxDialect testcase when clang is in MSVC compatible mode, as
it doesn't support `typeof`.
* Teach Module.WriteCompilerDetectionHeader to treat clang-cl as MSVC.
* Disable the SystemIncludeDirectories testcase within
IncludeDirectories when clang is in MSVC compatible mode.
* Disable the CMakeOnly.CheckCXXCompilerFlag testcase when clang is in
MSVC compatible mode.
* Treat clang-cl as MSVC in LinkOptions.cmake in the try_run and
try_compile testcases.
|
|\ \
| |/
| |
| |
| |
| |
| | |
bcd99fac60 GHS: Document usage of GHS_NO_SOURCE_GROUP_FILE
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2943
|
| |
| |
| |
| | |
-- Also change variable name to CMAKE_GHS_NO_SOURCE_GROUP_FILE
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
dd45f23b01 FindCups: add imported target
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2917
|
| |/ |
|
|/
|
|
|
| |
Read an undocumented cache entry to allow some CI builds to configure
this test in a special way.
|
|
|
|
| |
Latest material from data.kitware.com -> Collections -> Courses -> CMake.
|
|
|
|
|
| |
Fixes: #18678
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
c09ec79981 ExternalProject: support SOURCE_SUBDIR for BUILD_IN_SOURCE
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2823
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds `Fortran_COMPILER_ID` and `Fortran_COMPILER_VERSION` generator
expression support to match equivalent `C_COMPILER_ID`,
`CXX_COMPILER_ID`, `C_COMPILER_VERSION`, and `CXX_COMPILER_VERSION`
support.
This is very helpful in the case where the C/C++ compiler suite is a
different type of compiler from the platform Fortran compiler and
projects use generator expressions to assign compiler flags and
definitions. (e.g. `GNU` C/C++ and `SunPro` Fortran on Linux)
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
1c08652580 Tests: Fix Qt4And5Automoc tests to work on in-source build
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2817
|
| |/
| |
| |
| |
| |
| |
| | |
Use a distinctly-named build directory for each case so that neither
one uses its own source tree as the build tree.
Fixes: #18159
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-- Allow for testing default toolset settings
If CMake_TEST_GreenHillsMULTI_config is not defined then
just run the GHS tests using defaults.
-- Handle paths that contain spaces
-- Update test suite to use "-non_shared" linker option
Fixes linking issue if GHS is not shipped with shared libraries
-- Other minor cleanup
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-- Detect GHS compiler and version
Detect ARCHITECTURE_ID for PPC / ARM / 86 targets
Detect PLATFORM_ID for Integrity and Integrity178 platforms
Using defines specified in the documents for the compilers: 201416 PPC / 201754 ARM / 201714 86
-- Fallback C/CXX compiler ID to GHS if not otherwise detected and using GHS MULTI generator
Works around issue with some GHS compilers not setting __ghs__ compiler define
-- Tweak Compiler ID checking so major id of 002017 is not replaced with 217
-- Prefer try_compile() library targets when testing for working GHS compilers
-- Avoid CMake errors if reading past end of file for checking if file is PE executable
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-- Add test demonstrating issue
-- In the case of executable targets the target name is usually the same as used in "-o filename"
But for static libraries the target name is usually "-o libname.a"
"gbuild.exe target" will build whatever target matches against even the output from the compiler or linker
But the targets in "cmake --build . --target name" should be target names in CMakeLists.txt not the actual filenames
So change the "name" to "name.gpj" so it matches the target name in CMakeLists.txt.
Fixes #15975
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-- Check the property "ghs_integrity_app" on executables to set [INTEGRITY Application]
If the property is not set then check if an integrate file is one of the source files (.int file).
Dynamic Downloads that do not have an integrate file can use this property along with setting
the compiler flag "-dynamic".
-- Remove parsing for -dynamic flag; it is only used to print a comment
The MULTI GUI will show if it is a Monolith or Dynamic Download application
-- Use project references to specify which executables are part of the Integrity Application
Usually Implicit Dependency Analysis will ensure that executable targets
become part of the application. This does not work for Dynamic Download without integrate files.
Use `add_dependencies(dd vas)` to mark that the vas target is part of dd target.
-- Update file locations in the Integrate files.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-- Sort the items of the project files, previously they were unsorted
The layout is similar to Visual Studio projects
-- Do not make a make a tree of directories and projects files
The main project file is in the binary folder
The sub-project files are located in the project object directory
This is similar to the Makefile generator
-- Allow the creation of a single project file
If the variable or target property GHS_NO_SOURCE_GROUP_FILE is set
then all sources will be listed in the main project file
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-- Update test suite so that CMake can use multiple toolsets
CMake_TEST_GreenHillsMULTI_config
ghs_config_name
ghs_target_arch
ghs_tools
ghs_toolset_name
ghs_os_root
ghs_os_dir
ghs_target_platform
ghs_bsp_name
-- Change ARM Integrity test to generic Integrity test
Add Monolithic build test
-- Add other GHS generator tests
|
|
|
|
|
| |
We dropped support for IRIX as a host platform long ago.
Remove some leftover code.
|
|
|
|
| |
Previously only VS 2008 was supported.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Add imported target LibLZMA::LibLZMA
- Show found message with library path
- Add test for FindLibLZMA
Fixes: #18680, #18679
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
|
| |
|
|
|
|
|
| |
This tests whether GIFLIB can be found and the linker works. For newer
versions (>=5) it also tests if the version was parsed correctly.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
fe40570608 FindSQLite3: Add module to find SQLite3
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2557
|
| | |
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
575e2cc35d FindPostgreSQL: extract the actual version number
7413f29fe6 Tests/FindPostgreSQL: add a test for FindPostgreSQL
d2235fd253 FindPostgreSQL: add an imported target
7a801b7dfb FindPostgreSQL: Modernize documentation layout
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2555
|
| | |
|
|/ |
|
|
|
|
| |
Also allowing a way to select which of multiple installed MATLAB versions to use in the test.
|
|\
| |
| |
| |
| |
| |
| | |
84e7920b3a FindFontconfig: Add module to find Fontconfig
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2487
|
| |
| |
| |
| | |
This module is inspired by one from KDE's KWin.
|
|/
|
|
|
|
|
| |
Removing the "%" character from the name of the routine in the line
parser causes CTest to be unable to find a routine entry point that is
only named "%". Instead leave it during line parsing and handle routine
names ending in "%" explicitly when loading files.
|
|
|
|
| |
This module is inspired by one from KDE's KWin.
|
|\
| |
| |
| |
| |
| |
| |
| | |
22282d6931 Tests: Add VSWinStore* test for VS 2017 ARM64
57b9a072cb Tests: Teach VSWinStore* tests to pass the architecture as a parameter
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2389
|
| | |
|
| |
| |
| |
| |
| | |
Instead of specifying the architecture in the generator name, pass it as
the generator platform. This has been preferred since CMake 3.1.
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
These new capabilities enable to manage link directories
Two new properties:
* target properties: LINK_DIRECTORIES and INTERFACE_LINK_DIRECTORIES
One new command
* target_link_directories(): to populate target properties
Fixes: #17215
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
63eb43f131 Tests: Add VSWinStorePhone for VS 15 2017
173d29a379 Tests: Fix VSWinStorePhone to properly identify VS 14 2015
83ddc4d289 VS: Do not select a Windows SDK too high for current VS version
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2388
|
| |
| |
| |
| |
| |
| | |
VS 2017 needs several components installed to support this test, so
enable it only via an explicit option that can be set on specific
builders.
|
| |
| |
| |
| |
| |
| |
| | |
VS 14 2015 was only identified by the Windows 10 SDK. On machines with
only VS 2017 and the Windows 10 SDKs, this would incorrectly identify
that VS 2015 was installed. Check for VS 14 2015 with its proper
registry entry.
|
|/
|
|
|
|
|
|
|
|
| |
Refactoring in commit f4ff60a803 (cmMakefile: Make GetSafeDefinition
return std::string const&, 2018-09-05) accidentally changed the logic
for target artifact prefix and suffix names such that setting a PREFIX
or SUFFIX target property would cause an empty value to be used. Revert
that part of the change and use a simpler alternative. Add a test case.
Reported-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca>
|