summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Normalize add_custom_command OUTPUT names (#10485)Brad King2010-12-151-0/+1
| | | | | | | | | | | | Previously the OUTPUT arguments of add_custom_command were not slash-normalized but those of add_library and add_executable were. This caused the example add_custom_command(OUTPUT a//b.c ...) add_library(... a//b.c ...) to fail at build time with "no rule to make a/b.c". Fix this and modify the CustomCommand test to try it.
* KWSys Nightly Date StampKWSys Robot2010-12-151-1/+1
|
* KWSys: Do not mangle UNC paths in ConvertToUnixOutputPath (#10206)Brad King2010-12-142-2/+2
| | | | | | | | | | | | This method replaces '//' with '/' to make the paths look nicer. Originally it correctly skipped a leading '//' in a UNC path as the comment says. However, commit "Removed extra variable initializations" (2005-04-15) accidentally removed the "pos=1" initializer. It was then incorrectly restored by commit "Added missing variable initialization" (2005-04-15) as just "pos=0". Restore the proper initializer. The test for this added by commit "better coverage" (2006-07-31) included incorrect output for a sample UNC-like path. Fix it.
* Merge topic 'dev/support-substring-negative-indices'Brad King2010-12-141-1/+1
|\ | | | | | | | | 36cb701 allow STRING(SUBSTRING) work with length -1 as "rest of the string"
| * allow STRING(SUBSTRING) work with length -1 as "rest of the string"Rolf Eike Beer2010-12-081-1/+1
| | | | | | | | This fixes the first half of bug 10740.
* | Merge topic 'ParallelEclipseMakefiles2'Brad King2010-12-142-8/+12
|\ \ | | | | | | | | | | | | | | | 27ee50a Add ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT as a ADVANCED cache variable (#9631) 50d21d4 Add cache var CMAKE_ECLIPSE_MAKE_ARGUMENTS when using the Eclipse generator
| * | Add cache var CMAKE_ECLIPSE_MAKE_ARGUMENTS when using the Eclipse generatorAlex Neundorf2010-12-122-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | This variable can be set to command line arguments which will be passed to make when eclipse invokes make, e.g. you can enter "-j8" to get 8 parallel builds (#9930) Alex
* | | Merge topic 'custom-command-depend'Brad King2010-12-147-35/+53
|\ \ \ | | | | | | | | | | | | | | | | | | | | ced1d5e Skip file-level dependencies on custom targets (#11332) e30a775 Improve signature of cmLocalGenerator::GetRealDependency
| * | | Skip file-level dependencies on custom targets (#11332)Brad King2010-12-082-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | A custom command may name a target created by add_custom_target in its DEPENDS field. Treat this case as a target-level dependency only since a custom target provides no standard file on which to add a file-level dependency.
| * | | Improve signature of cmLocalGenerator::GetRealDependencyBrad King2010-12-087-33/+51
| | | | | | | | | | | | | | | | Allow file-level custom command dependencies to be skipped.
* | | | Merge topic 'vs10-sln-msbuild-workaround'Brad King2010-12-144-10/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 10f01ae Remove unused parameter "root" in some VS generator methods 57e7153 Avoid msbuild idiosyncrasy that builds multiple configs (#11594) 7728172 Remove unused variable "rootdir" in VS generators
| * | | | Remove unused parameter "root" in some VS generator methodsBrad King2010-12-103-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The previous commit removed the last use of this parameter from the implementation of WriteTargetsToSolution. Remove the parameter.
| * | | | Avoid msbuild idiosyncrasy that builds multiple configs (#11594)Brad King2010-12-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a .sln file refers to a project file with a leading ".\", as in ".\foo.vcxproj" instead of just "foo.vcxproj" or a full path then msbuild behaves strangely. Whenever target foo is built as a dependency of another target, msbuild brings multiple configurations up to date instead of just the requested configuration! Refer to all project files by full path to avoid this behavior.
| * | | | Remove unused variable "rootdir" in VS generatorsBrad King2010-12-102-4/+0
| | | | |
* | | | | Merge topic 'fix_incremental_vs2010'Brad King2010-12-141-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | cddcad5 Fix incremental linking for VS2010 with nmake or make.
| * | | | | Fix incremental linking for VS2010 with nmake or make.Bill Hoffman2010-12-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS2010 deprecated /INCREMENTAL:YES. This change makes /INCREMENTAL the flag to use for incremental linking with VS2010.
* | | | | | Merge topic 'cross-compile-apple-host'Brad King2010-12-141-15/+24
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b7f901 Fix soname in cross-compiled targets with Mac host (#11547)
| * | | | | | Fix soname in cross-compiled targets with Mac host (#11547)Brad King2010-12-091-15/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The soname generation code was compile-time selected instead of runtime selected. The result is that a Mac-compiled cmake used to cross-compile Mac -> Unix generates an soname of the form libfoo.x.y.so instead of libfoo.so.x.y as expected. Instead do a runtime check based on the target platform. Inspired-By: George Staikos <staikos@kde.org>
* | | | | | | Merge topic 'doc-ctest_sleep'Brad King2010-12-141-5/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7145ca6 CTest: Fix ctest_sleep documentation (#11554)
| * | | | | | | CTest: Fix ctest_sleep documentation (#11554)Brad King2010-12-091-5/+4
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Document behavior consistently with the implementation.
* | | | | | | Merge topic 'parallel-make-install-of-CMake'Brad King2010-12-141-0/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 608d6bb Fix parallel "make install" of CMake itself
| * | | | | | | Fix parallel "make install" of CMake itselfBrad King2010-12-091-0/+9
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid tracing dependencies of GLOBAL_TARGET targets. The build system generators are not designed to handle any dependencies that may be discovered. Global targets are only generated by CMake and never have commands that reference targets built in the project anyway. The exception is when building CMake itself there is a special case to use the just-built "cmake" binary in the "install" target so that CMake can replace itself on Windows. Even in this special case we do not want to let the "install" target depend on the "cmake" target. Doing so breaks cases like "make -j4 install".
* | | | | | | Merge topic 'imported-target-dependencies'Brad King2010-12-141-4/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a765c49 Honor custom command dependencies on imported targets (#10395)
| * | | | | | | Honor custom command dependencies on imported targets (#10395)Brad King2010-12-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Imported targets do not themselves build, but we can follow dependencies through them to find real targets. This allows imported targets to depend on custom targets that provide the underlying files at build time.
* | | | | | | | Merge topic 'fix-INSTALL-and-PACKAGE-depend-tracing'Brad King2010-12-143-22/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e82773 Remove unused GLOBAL_TARGET generation code 0621362 Fix dependency tracing of INSTALL and PACKAGE (#11598)
| * | | | | | | | Remove unused GLOBAL_TARGET generation codeBrad King2010-12-132-22/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove a boolean parameter of cmGlobalGenerator::CreateGlobalTarget that is never set to true anymore. Remove global target "consolidation" loop because no global targets exist before it runs anymore.
| * | | | | | | | Fix dependency tracing of INSTALL and PACKAGE (#11598)Brad King2010-12-131-0/+6
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit e01cce28 (Allow add_dependencies() on imported targets, 2010-11-19) started using cmMakefile::FindTargetToUse to follow dependencies, including those of GLOBAL_TARGETs like INSTALL and PACKAGE. Since global targets exist in every directory, dependencies between them must be traced within each directory too. Teach FindTargetToUse to check the current directory before checking globally. For global targets this will find the local copy. For for normal targets this will be a no-op because they are globally unique.
* | | | | | | | Merge topic 'vs10-express-64bit'Brad King2010-12-145-0/+85
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb97ba6 Enable 64-bit tools with VS 2010 Express (#9981, #10722)
| * | | | | | | | Enable 64-bit tools with VS 2010 Express (#9981, #10722)Brad King2010-12-015-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Express Edition does not come with 64-bit tools, but one can install the "Microsoft Windows SDK v7.1" to get them. Detect this case and check for the SDK. If found, set PlatformToolset to use the SDK tools. Otherwise, fail with a concise and informative error.
* | | | | | | | | KWSys: Use EXPORT name only if installing libraryBrad King2010-12-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not set KWSYS_INSTALL_LIBRARY_RULE just because the parent project set KWSYS_INSTALL_EXPORT_NAME. Require KWSYS_INSTALL_LIB_DIR to be set too.
* | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-12-141-1/+1
| | | | | | | | |
* | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-12-131-1/+1
| |_|_|_|_|_|/ / |/| | | | | | |
* | | | | | | | KWSys Nightly Date StampKWSys Robot2010-12-121-1/+1
| | | | | | | |
* | | | | | | | KWSys Nightly Date StampKWSys Robot2010-12-111-1/+1
| |_|_|_|/ / / |/| | | | | |
* | | | | | | KWSys Nightly Date StampKWSys Robot2010-12-101-1/+1
| |_|/ / / / |/| | | | |
* | | | | | KWSys Nightly Date StampKWSys Robot2010-12-091-1/+1
| | | | | |
* | | | | | KWSys: Remove realpath from SystemTools::GetPath (#10335)Brad King2010-12-081-3/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit "merge in changes for beos support" (2006-12-04) added a realpath call for every directory parsed out of a PATH-style environment variable. No reason was given in the commit message or comments. The call incorrectly resolves symlinks in referenced paths. Remove it. If BeOS support really needs it then it can be restored for that platform with a full explanation.
* | | | | KWSys Nightly Date StampKWSys Robot2010-12-081-1/+1
| | | | |
* | | | | Merge topic 'fix-typo-in-error-message'David Cole2010-12-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a2a997d Correct misspelling in error message text.
| * | | | | Correct misspelling in error message text.David Cole2010-12-061-1/+1
| | |_|_|/ | |/| | |
* | | | | Merge topic 'fortran-avoid-timestamp-touch'David Cole2010-12-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5622a16 Make Fortran $obj.provides.build targets not .PHONY
| * | | | | Make Fortran $obj.provides.build targets not .PHONYBrad King2010-12-061-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 60cd72d0 (Cleaned up generation of symbolic rules, 2006-02-15) incorrectly made these Makefile targets .PHONY even though the build rule touches an actual file. Correct it so that the copy_f90_mod and touch steps do not happen on every "make".
* | | | | KWSys Nightly Date StampKWSys Robot2010-12-071-1/+1
|/ / / /
* | | | KWSys Nightly Date StampKWSys Robot2010-12-061-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-12-051-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-12-041-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-12-031-1/+1
| |_|/ |/| |
* | | Merge topic 'find-command-crash'Brad King2010-12-021-0/+5
|\ \ \ | | | | | | | | | | | | | | | | 183d261 Fix find_* argument parsing crash (#11513)
| * | | Fix find_* argument parsing crash (#11513)Brad King2010-11-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the command find_path(VAR DOC "") would crash because the argument pre-processing removed the DOC "" arguments but the rest of the parsing assumes at least 2 arguments. Reject the call with an error instead.
* | | | Merge topic 'ctest-remove-waiting-message'Brad King2010-12-021-6/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 13f2454 Remove debugging message from parallel ctest