- Sep 25, 2015
-
-
http://www.cmake.orghttps://cmake.orgBrad King authored
The latter is now the preferred URL for visiting cmake.org with a browser. Convert using the shell code: git ls-files -z | xargs -0 sed -i 's|http://www\.cmake|https://cmake|g'
-
710bde43 cmCoreTryCompile: Fix internal argument vector construction
-
bd189cc2 install: Allow generator expressions in DIRECTORY DESTINATION
-
fff9434d FindThreads: officially announce it works with only C++ enabled 66db914a FindThreads: fix printing a pointer value in test code 0b38424c FindThreads: make the call to try_run() work also if only C++ is enabled 9924a212 FindThreads: replace CheckIncludeFiles by CheckIncludeFile a27bc0cc Check(Function|Library|Symbol)Exists: make it work if only C++ is enabled 7279f293 FindThreads: add simple testcase
-
8bfff686 cmLocalGenerator: Compute object max path on construction. 2c2479fb cmGlobalGenerator: Create all local generators after Configure(). 194bb068 cmGlobalGenerator: Remove unused method. c5f07e05 cmGlobalGenerator: Create local generators after all makefiles configured. dd408de4 cmGlobalGenerator: Create local generator after configuring the makefile. 8a88089b cmMakefile: Create the local generator after configuring the makefile. 934aa454 Makefiles: Remove need to create local generator at configure time. 61b48e70 Makefiles: Port to cmOutputConverter.
-
-
This causes a warning in C mode, and entirely fails in C++ mode: CMake/Modules/CheckForPthreads.c: In function ‘runner’: CMake/Modules/CheckForPthreads.c:34:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf("%d CC: %d\n", (int)args, cc); ^ Use %p to print out a pointer value, which will not cause any problems.
-
This isn't enough to make the whole module work with only C++ enabled.
-
While at it, also add a branch using CheckIncludeFileCXX. Also give a better error message if no supported language is enabled. C++ support isn't working yet, but it has never worked.
-
-
Kitware Robot authored
-
- Sep 24, 2015
-
-
Brad King authored
In TryCompileCode we construct an internal argv[] vector that needs to have a fake argv[0] so our internal cmake command line looks like a real command line. Fix construction of the fake argv[0] when try_compile is called without the CMAKE_FLAGS argument. Otherwise the first internal -DVAR=val argument that we use to pass information like CMAKE_OSX_SYSROOT is ignored.
-
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Stephen Kelly authored
The local generator is not used during configure time.
-
Stephen Kelly authored
This method is used during try_compile.
-
Stephen Kelly authored
-
Kitware Robot authored
-
- Sep 23, 2015
-
-
Brad King authored
-
-
b761e90d CPack: remove accidental changes
-
d1375851 Project: Don't require computed default dialect if compiler was forced.
-
Remove changes accidentally included in commit b58de9fe (CPack: allow packaging of empty directories, 2015-09-22).
-
Kitware Robot authored
-
- Sep 22, 2015
-
-
Stephen Kelly authored
Commit 7235334a (Project: Determine default language dialect for the compiler., 2015-09-15) introduced a mechanism to determine the default dialect used for the running compiler. If conditions in the <CompilerId>-<Lang>.cmake file are such that compile features for that version of the compiler should be supported, the _DEFAULT_STANDARD is set to the computed value. However, the CMakeForceCompiler module allows users to bypass execution of the compiler by CMake. In that case, do not set the _DEFAULT_STANDARD variable at all, which effectively disables the compile-features where the module is used. No compile features have ever been recorded where the module is used so no functionality is lost.
-
402bf096 CMP0064: Fix recorded version of introduction to be 3.4
-
17009189 Windows: Fix CMAKE_HOST_SYSTEM_VERSION on Windows >= 8 (#15674)
-
-
Brad King authored
When using "cmake --build ." or "MSBuild ALL_BUILD.vcxproj" to drive the build the dependencies in the .sln file are not considered. This means that ProjectReference elements in .vcxproj files are used to order targets. We must ensure that the ZERO_CHECK target is listed as the first dependency of every target so that when it causes regeneration of the build files then MSBuild has not yet loaded the updated files.
-
Brad King authored
Refactor cmGlobalVisualStudioGenerator::TargetCompare to store the name of the target that should come first instead of hard-coding "ALL_BUILD". Update client sites to specify "ALL_BUILD" when ordering for .sln files and an empty string otherwise (in cases when "ALL_BUILD" should not be encountered anyway).
-
Kitware Robot authored
-