- 22 Oct, 2013 3 commits
-
-
Stephen Kelly authored
For better readability.
-
Stephen Kelly authored
Replace with generic solution based on cmArray* for better readability.
-
Stephen Kelly authored
-
- 21 Oct, 2013 8 commits
-
-
The result is that the depends of the target are created. So, add_library(somelib foo.cpp) add_library(anotherlib EXCLUDE_FROM_ALL foo.cpp) add_library(extra EXCLUDE_FROM_ALL foo.cpp) target_link_libraries(anotherlib extra) add_library(iface INTERFACE) target_link_libraries(iface INTERFACE anotherlib) Executing 'make iface' will result in the anotherlib and extra targets being made. Adding a regular executable to the INTERFACE of an INTERFACE_LIBRARY will not result in the executable being built with 'make iface' because of the logic in cmComputeTargetDepends::AddTargetDepend. So far, this is implemented only for the Makefile generator. Other generators will follow if this feature is possible for them. Make INTERFACE_LIBRARY targets part of the all target by default. Test this by building the all target and making the expected library EXCLUDE_FROM_ALL.
-
6d50d019 Help: Add introduction section to cmake-policies manual
-
216afc8a MSVC: Add /FS flag for cl >= 18 to allow parallel compilation (#14492)
-
Kitware Robot authored
- 20 Oct, 2013 4 commits
-
-
abfebefb Cygwin: Avoid legacy warnings in RunCMake.CMP0026 test
-
1b7117a8 VS 6: Do not try Intel Fortran .vfproj file with msdev
-
Stephen Kelly authored
Add 'S' to match actual variable names.
-
Kitware Robot authored
-
- 19 Oct, 2013 6 commits
-
-
Brad King authored
All calls to this method have been replaced by newer infrastructure. Remove it and the supporting cmWin32ProcessExecution class.
-
Brad King authored
Drop use of cmSystemTools::RunCommand. It used popen on UNIX (equivalent to /bin/sh -c "$command") and direct CreateProcess calls on Windows. Implement equivalent behavior using the KWSys Process library. Copy windows shortpath conversion logic from cmSystemTools::RunCommand.
-
Brad King authored
Since we dropped Win9x support there is no need for this helper.
-
Brad King authored
Set the minimum required version of CMake high enough to avoid the warning for CMAKE_LEGACY_CYGWIN_WIN32. The warning appears on stderr and breaks the expected output matching.
-
Brad King authored
Teach CMakeDetermineCompilerId to skip trying to build a .vfproj file for Intel Fortran under Visual Studio 6. The msdev command-line build produces a popup error dialog that hangs the configuration.
-
Kitware Robot authored
-
- 18 Oct, 2013 19 commits
-
-
Brad King authored
Avoid use of the old cmSystemTools::RunCommand by using RunSingleCommand instead.
-
Explain the concept behind policies.
-
Stephen Kelly authored
-
Stephen Kelly authored
The porting script seems to have made a mistake here.
-
Stephen Kelly authored
Use American spelling: behaviour -> behavior.
-
Stephen Kelly authored
-
70ae6dfd Handle genexes when evaluating INTERFACE_INCLUDE_DIRECTORIES errors.
-
Brad King authored
In generators such as Ninja that can run multiple "cl" processes that refer to the same compiler .pdb file (/Fd) at the same time, MSVC from Visual Studio 2013 complains: fatal error C1041: cannot open program database '.../vc120.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS According to "cl /?": /FS force to use MSPDBSRV.EXE Add the flag to compilation lines for this compiler version just after the /Fd option.
-
-
89448a5b cmRST: Substitute CMake version for |release| as Sphinx does
-
1873205a Update CMP0024/CMP0025/CMP0026 release version
-
5cdaef7e Drop builtin policy "full" documentation
-
dede2731 target_link_libraries: Allow repeated use of LINK_{PRIVATE,PUBLIC} keywords.
-
d4c3de2f cmake: Simplify -E command line processing
-
d14898b6 Intel: Fix detection of MSVC version simulated by pre-11.0 Fortran a85e17e6 Intel: When simulating MSVC, re-use Windows-MSVC (#14476) af40e8c3 VS: Detect Intel Fortran compiler id and version b8522a8c VS: Expose Intel Fortran .vfproj format version to CMake language 2d36c9ab CMakeDetermineCompilerId: Fix Intel Fortran compiler id detection a6fd17ce VS: Fix CMAKE_<LANG>_COMPILER detection with Intel toolset (#14471)
-
7eddefd8 TestDriver.cxx.in: Untrusted array index read.
-
Brad King authored
The Intel Fortran 10 64-bit compiler incorrectly defines _MSC_VER to its own version (1020) instead of the underlying MSVC tools version. Since we expect the compiler to be used only with VS >= 7 tools, assume MSVC version 13.0 if _MSC_VER is not greater than 1300.
-
Brad King authored
Teach CMake(C|CXX|Fortran)CompilerId* to report the MSVC version simulated by the Intel compiler, if any. Refactor the Windows-Intel platform information helper module to load Windows-MSVC instead of duplicating the information. Teach Windows-MSVC to understand when it is loaded as the simulated Fortran compiler (its preprocessor is simulated).
-
Brad King authored
Teach CMakeDetermineCompilerId to use a .vfproj project file to build the Fortran compiler id source file under the Visual Studio generators.
-