summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmSystemTools: Add RunSingleCommand overload for std::vector<std::string>Brad King2013-11-152-1/+22
|
* ctest_build: Use "cmake --build" to launch the native build toolBrad King2013-11-151-7/+2
| | | | | | | | | | This avoids requiring cmGlobalGenerator::GenerateBuildCommand to produce a string so that it can be later refactored to produce a vector with no quoting or escaping. It also makes the ctest_build command match what "ctest -T Build" would run in a build tree configured with the new build_command() command behavior. It also ensures that the native build tool used matches that selected by the configuration of the tree to be built.
* build_command: Return a "cmake --build" command-lineBrad King2013-11-151-25/+8
| | | | | | | | | | | | | | Re-implement the build_command() command to use "cmake --build" instead of generating a native build tool invocation directly. This command will internally invoke the proper native build tool. This avoids requiring cmGlobalGenerator::GenerateBuildCommand to produce a string so that it can be later refactored to produce a vector with no quoting or escaping. It will also allow us to later teach CMake to delay the decision about which build tool to invoke until after the project build system is generated to disk. For example, on Visual Studio 10 and above the preferred command-line tool is MSBuild, but we need to fall back to devenv if the .sln has Intel Fortran .vfproj files.
* cmGlobalGenerator: Add method to compute "cmake --build" command lineBrad King2013-11-143-0/+48
| | | | | | Create a GenerateCMakeBuildCommand method to generate a command-line string invoking "cmake --build" for a given target and configuration. Optionally allow the "-i" make flag and additional native options.
* cmGlobalGenerator: Drop unused GenerateBuildCommand implementationBrad King2013-11-141-33/+5
| | | | | | This is a virtual method that is overridden by every generator subclass. The base class implementation should never be called, so replace it with a dummy implementation.
* Merge topic 'msvc-encoding'Brad King2013-11-141-2/+4
|\ | | | | | | | | 58e3d49 MSVC: Fix encoding of Visual Studio 10+ project files.
| * MSVC: Fix encoding of Visual Studio 10+ project files.Clinton Stimpson2013-11-141-2/+4
| | | | | | | | | | Use Windows-1252, which is the same encoding as older Visual Studio project files.
* | Merge topic 'set_emptyvar_PARENT_SCOPE'Brad King2013-11-141-9/+10
|\ \ | | | | | | | | | | | | | | | | | | bf755c7 set: Add unit tests for set/unset PARENT_SCOPE bc280f1 set: Fix handling of empty value with PARENT_SCOPE 20afbd5 set: Handle value-less PARENT_SCOPE explicitly
| * | set: Fix handling of empty value with PARENT_SCOPEDaniele E. Domenichelli2013-11-131-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just as set(VAR "") sets VAR to an empty string in the current scope, the code set(VAR "" PARENT_SCOPE) is documented to set the variable to an empty string in the parent scope. Fix the implementation to make it so.
| * | set: Handle value-less PARENT_SCOPE explicitlyDaniele E. Domenichelli2013-11-131-0/+8
| | | | | | | | | | | | | | | | | | The code "set(VAR PARENT_SCOPE)" unsets VAR in the parent scope. Implement this case explicitly next to where "set(VAR)" is explicitly handled to unset VAR in the current scope.
* | | CMake Nightly Date StampKitware Robot2013-11-141-1/+1
| | |
* | | Merge topic 'cmake-distribution-config'Brad King2013-11-132-5/+5
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 06b0dbe OS X: Drop version number from CMake.app bundle name (#11693) 84af42b Configure NSIS-packaged CMake version and install destination 7655029 Configure NSIS-packaged CMake documentation link in Start Menu
| * | OS X: Drop version number from CMake.app bundle name (#11693)Brad King2013-11-122-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Always name the application bundle "CMake.app". Users can rename it after installation if they wish. This is the typical approach used by OS X applications, including Xcode. It allows CMake to be upgraded without manually re-running CMake in every build tree to update the path to CMake. It also makes the executable location in the CMake build tree more predicatable.
* | | Merge topic 'cmake-copyright-year'Brad King2013-11-131-1/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3bade75 Help: Parse Copyright.txt instead of using current year 2bbf6bd Copyright.txt: Add test to check year range 3ee67d0 Copyright.txt: Update year range to end in 2013 621ba1f cmake-gui: Parse Copyright.txt instead of duplicating notice 993b685 bootstrap: Parse Copyright.txt instead of duplicating notice
| * | | cmake-gui: Parse Copyright.txt instead of duplicating noticeBrad King2013-11-121-1/+4
| |/ / | | | | | | | | | | | | Set the cmake-gui MACOSX_BUNDLE_COPYRIGHT property by parsing the copyright notice line out of Copyright.txt instead of duplicating it.
* | | Merge topic 'policy-summary-periods'Brad King2013-11-131-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | 49cbca6 CMP0038: Add missing '.' to policy summary line 7390002 CMP0039: Add missing '.' to policy summary line
| * | | CMP0039: Add missing '.' to policy summary lineDaniele E. Domenichelli2013-11-121-1/+1
| | | |
* | | | Merge topic 'fix-INTERFACE-with-no-SHARED-libs'Brad King2013-11-131-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 64f73b0 add_library: Fix INTERFACE on platforms with no shared libs (#14561)
| * | | | add_library: Fix INTERFACE on platforms with no shared libs (#14561)Stephen Kelly2013-11-121-0/+1
| |/ / /
* | | | Merge topic 'wix-custom-arguments'Brad King2013-11-132-6/+73
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 096591b CPackWiX: Add variables for custom tool extensions and flags
| * | | | CPackWiX: Add variables for custom tool extensions and flagsNils Gladitz2013-11-122-6/+73
| | | | |
* | | | | Merge topic 'cleanup-edit_cache-target'Brad King2013-11-1312-115/+71
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | 684063c Refactor tool selection for edit_cache (#14544) eaf5b7a cmGlobalGenerator: Do not propagate const through GetCMakeInstance
| * | | | Refactor tool selection for edit_cache (#14544)Brad King2013-11-1212-113/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor edit_cache tool selection to ask each global generator for its preference. Teach the Ninja generator to always use cmake-gui because Ninja by design cannot run interactive terminal dialogs like ccmake. Teach the Makefile generator to use cmake-gui when also using an "extra" generator whose IDE has no terminal to run ccmake, and otherwise fall back to CMAKE_EDIT_COMMAND selection for normal Makefile build systems.
| * | | | cmGlobalGenerator: Do not propagate const through GetCMakeInstanceBrad King2013-11-121-2/+1
| | |_|/ | |/| | | | | | | | | | | | | | Combine the const and non-const GetCMakeInstance to a const one and return a pointer to non-const cmake from it.
* | | | CMake Nightly Date StampKitware Robot2013-11-131-1/+1
|/ / /
* | | Merge topic 'pp-transitive-property-handling'Brad King2013-11-123-23/+18
|\ \ \ | | | | | | | | | | | | | | | | | | | | 77a0fd5 Genex: Use a preprocessor foreach to follow transitive properties. 1464933 Genex: Simplify the preprocessor looper for interface properties.
| * | | Genex: Use a preprocessor foreach to follow transitive properties.Stephen Kelly2013-11-091-17/+12
| | | |
| * | | Genex: Simplify the preprocessor looper for interface properties.Stephen Kelly2013-11-093-6/+6
| | | | | | | | | | | | | | | | By removing the INTERFACE_ prefix, we can use this in more contexts.
* | | | Merge topic 'constify'Brad King2013-11-124-29/+25
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | dcac9be Make accessors for compile-related information const. 19a8a3c cmTarget: Don't finalize include directories in GetIncludeDirectories. 3305364 cmGlobalGenerator: Rename the FinalizeCompileDefinitions method.
| * | | Make accessors for compile-related information const.Stephen Kelly2013-11-092-19/+20
| | | | | | | | | | | | | | | | These can be moved to cmGeneratorTarget in CMake 4.0.
| * | | cmTarget: Don't finalize include directories in GetIncludeDirectories.Stephen Kelly2013-11-072-7/+2
| | | | | | | | | | | | | | | | Rely on that having been done by the cmGlobalGenerator.
| * | | cmGlobalGenerator: Rename the FinalizeCompileDefinitions method.Stephen Kelly2013-11-072-3/+3
| | | | | | | | | | | | | | | | This will soon also finalize include directories.
* | | | Merge topic 'cmake-internal-locations'Brad King2013-11-1226-350/+212
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | d1526f8 Refactor internal resource location APIs and initialization
| * | | | Refactor internal resource location APIs and initializationBrad King2013-11-1226-350/+212
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename cmSystemTools::FindExecutableDirectory to FindCMakeResources. Teach it to compute the locations of cmake, ctest, cpack, ccmake, and cmake-gui executables, and the location of CMAKE_ROOT. Provide this information from static cmSystemTools::Get<resource>() methods. Refactor code that needs these locations to use the new APIs. Teach FindCMakeResources to use the OS X system API to lookup the executable location. When running from the CMake build tree itself, leave a file in the tree that FindCMakeResources can use to read the location of the source tree. This avoids the need to compile the source tree location into a binary that may be installed and used without the source tree. Teach the QtDialog on OS X to create a "cmake-gui" symlink in the build tree next to "cmake" and the other tools, as is already done in the install tree for the application bundle. This ensures a consistent set of executables are available in one directory.
* | | | Merge topic 'clear-generator-data'Brad King2013-11-122-1/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 00055ce cmExportSetMap: Override clear() to delete held resources
| * | | | cmExportSetMap: Override clear() to delete held resourcesBrad King2013-11-082-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the std::map<>::clear() method with one that first deletes the cmExportSet instances held by each map entry, and then clears. Otherwise the cmGlobalGenerator::ClearGeneratorMembers added by commit 5cf1120f (cmGlobalGenerator: Refactor member cleanup between configures, 2013-11-04) leaks the cmExportSet instances.
* | | | | CMake Nightly Date StampKitware Robot2013-11-121-1/+1
| |_|_|/ |/| | |
* | | | CMake Nightly Date StampKitware Robot2013-11-111-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2013-11-101-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2013-11-091-1/+1
| | |
* | | Merge topic 'tll-target-policies'Brad King2013-11-086-7/+164
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 596b2a8 Disallow linking to utility targets (#13902). 301bb5c Disallow link-to-self (#13947). 05f5fde Disallow invalid target names (#13140)
| * | | Disallow linking to utility targets (#13902).Stephen Kelly2013-11-073-0/+37
| | | |
| * | | Disallow link-to-self (#13947).Stephen Kelly2013-11-073-7/+44
| | | |
| * | | Disallow invalid target names (#13140)Stephen Kelly2013-11-074-0/+83
| | | | | | | | | | | | | | | | | | | | Exclude Borland and NMake from the CMP0037 test. They do not accept the colon in a target name.
* | | | CMake Nightly Date StampKitware Robot2013-11-081-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2013-11-071-1/+1
|/ /
* | Merge topic 'refactor-autogen-setup'Brad King2013-11-064-89/+114
|\ \ | | | | | | | | | | | | | | | | | | | | | 944277d cmAutogen: Gather tool arguments after creating generator targets. d2f4b1e cmAutogen: Rename method to InitializeAutogenTarget 45735f3 cmAutogen: Move autogen target creation to InitializeMocSourceFile. 20a234d cmAutogen: Extract some helper methods for autogen targets.
| * | cmAutogen: Gather tool arguments after creating generator targets.Stephen Kelly2013-11-052-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | This change causes the GetLinkInterfaceDependentStringProperty method, called in SetupAutoGenerateTarget, after the creation of generator targets. In CMake 4.0, the GetLinkInterfaceDependentStringProperty will move to the cmGeneratorTarget class, and this patch is a necessary prerequisite to that.
| * | cmAutogen: Rename method to InitializeAutogenTargetStephen Kelly2013-11-053-3/+3
| | | | | | | | | | | | This reflects better what it is doing.
| * | cmAutogen: Move autogen target creation to InitializeMocSourceFile.Stephen Kelly2013-11-051-67/+72
| | | | | | | | | | | | | | | | | | The SetupAutoGenerateTarget method will soon be invoked at a later time in a followup commit. We need to ensure that we create the utility autogen target early.