- 21 Jan, 2014 4 commits
- 20 Jan, 2014 7 commits
-
-
Brad King authored
The logic added by commit ffc0b5e4 (Overwrite the symlink if it already exists, 2007-02-15) does not recognize and remove existing broken links before replacing them. Improve the logic to remove any existing destination file or link (but not directory). On failure, report an error message explaining why the existing path could not be removed or the new one could not be created. Add a RunCMake.CommandLine test to cover 'cmake -E' cases. Start with test cases covering 'cmake -E create_symlink' behavior on UNIX platforms.
-
Brad King authored
Add a 'run_cmake_command' function that can be used by tests to run a given command-line and check the results rather than always running a CMake configuration process. This can be used in the future to test 'cmake -E' for example.
-
Brad King authored
-
e02cdba0 Kate: use cmMakefile::GetSafeDefinition() for a not-required variable
-
f81e67c6 Help: Update Qt4 documentation.
-
Brad King authored
In commit 2412d9bc (Use 'uname -m' for processor on Cygwin, 2010-09-21) it was pointed out that POSIX requires 'uname -m' but not 'uname -p': http://www.opengroup.org/onlinepubs/9699919799/utilities/uname.html On OS X x86_64, 'uname -p' returns i386 while 'uname -m' returns x86_64. Since the latter is the POSIX-compliant option trust its value. However, on OS X ppc, 'uname -m' returns 'Power Macintosh' so add a special-case to convert that to 'powerpc'.
-
Kitware Robot authored
-
- 19 Jan, 2014 1 commit
-
-
Kitware Robot authored
-
- 18 Jan, 2014 1 commit
-
-
Kitware Robot authored
-
- 17 Jan, 2014 7 commits
-
-
8f2c2ccb Improve ld flags for CMake itself on Linux/HPPA
-
45056264 Help: Document CMAKE_OSX_* variables
-
c768e398 cmMakefile: make some methods take const std::string& instead of const char*
-
Workaround binutils bug by only marking unique section starting by ".text._". This adds the HPPA workaround improved in commit b22a0f15 (bootstrap: improve ld flag for Linux/HPPA builds, 2014-01-14) not only to the bootstrap, but also to the normal build.
-
Alexander Neundorf authored
...otherwise the generator failed in embedded projects via externalproject(), since there CMAKE_KATE_MAKE_ARGUMENT is not set. Using GetSafeDefinition() is good enough to protect against NULL-pointers. Alex
-
Kitware Robot authored
-
- 16 Jan, 2014 11 commits
-
-
Images and xib files must have 'lastKnownFileType' attribute to be displayed correctly. If xib file has attribute 'explicitFileType' it is displayed as raw xml. If static image has attribute 'explicitFileType' it is displayed as question mark on storyboard.
-
Variable 'ext' already checked for equality to "xib" so remove the branch that will never be executed.
-
Brad King authored
Add documentation entries for variables CMAKE_OSX_ARCHITECTURES CMAKE_OSX_DEPLOYMENT_TARGET CMAKE_OSX_SYSROOT Explain what each does and when/how they should be set.
-
Most callers already have a std::string, on which they called c_str() to pass it into these methods, which internally converted it back to std::string. Pass a std::string directly to these methods now, avoiding all these conversions. Those methods that only pass in a const char* will get the conversion to std::string now only once.
-
620939e4 GNUInstallDirs: Fix CMAKE_INSTALL_LIBDIR on Debian
-
5968b6e0 Help: Fix typo in 'if()' command documentation
-
20e595ab Revert "Ninja: Track configured files so we can regenerate them."
-
79859689 Revert "Ninja: Avoid re-running CMake on next build after regeneration"
-
cfec180d cmake-gui: Remember variable type in Add Entry
-
Store variable types together with their names in the variable completion list so that the type is automatically recovered when you select a variable. Keep variable names and types in separate lists. This removes the :TYPE string from completion list and the Name field and makes variable search easier. The variable names and types are now kept in two different settings - AddVariableNames and AddVariableTypes. Drop the old AddVariableCompletionEntries setting.
-
Kitware Robot authored
-
- 15 Jan, 2014 9 commits
-
-
Brad King authored
Revert commit 4a6397a7 (Ninja: Track configured files so we can regenerate them, 2013-06-17). The files reported by the method cmMakefile::GetOutputFiles() must cause CMake to re-run only if they are missing and without considering a timestamp. This is not the meaning of the implicit dependencies field so Ninja re-runs CMake too often. Another solution will have to be found to the original problem.
-
Brad King authored
Revert commit 6fac24d7 (Ninja: Avoid re-running CMake on next build after regeneration, 2014-01-09). The files reported by the method cmMakefile::GetOutputFiles() must cause CMake to re-run only if they are missing and without considering a timestamp. Therefore they cannot be listed as outputs of the re-run rule or Ninja will re-run CMake every time because the timestamp of configure_file outputs does not change. Another solution will have to be found to the original problem.
-
s/argumemnts/arguments/
-
Daniele E. Domenichelli authored
When not installing in /usr (i.e. /usr/local) on Debian/Ubuntu, the multiarch path is not in ldconfig path, and therefore libraries cannot be found, unless the user manually modifies the files in /etc/ld.so.conf.d, in order to include /usr/local/lib/<arch>. This patch fixes this issue by using "lib/<arch>" only if the user is installing the software in /usr, and uses "lib" in all the other cases.
-
Stephen Kelly authored
Remove independent doc listing for Qt4ConfigurationSettings, Qt4Macros and UseQt4. These are implementation details. Recommend the use of IMPORTED targets. Remove references to the UseQt4 file, which is obsolete in light of the IMPORTED targets. Add documentation for automatic tool invocation and options. Remove reference to variables which should not be needed in modern implementations.
-
b22a0f15 bootstrap: improve ld flag for Linux/HPPA builds
-
4608a260 Document the TARGET options in Qt4 macros.
-
Follow up commit ca63bb10 (bootstrap: try better workaround for builds on Linux/HPPA, 2013-09-12) with an improved ld flag. Suggested-by: Guy Martin
-