summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Fix vs2010 project generation error when HEADER_FILE_ONLY is set.Bill Hoffman2010-12-201-1/+1
| | | | | | | In vs2010 a bad project file could be generated if a .c or .cxx file was marked with HEADER_FILE_ONLY, if it was in a library that contained both c and c++ code. This fixes the error in the code, and adds a test for this case.
* KWSys Nightly Date StampKWSys Robot2010-12-201-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-12-191-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-12-181-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-12-171-1/+1
|
* Merge topic 'try_compile-RemoveFile'Brad King2010-12-161-21/+11
|\ | | | | | | | | 097294e Fix try_compile RemoveFile anti-virus loop (#11503)
| * Fix try_compile RemoveFile anti-virus loop (#11503)Brad King2010-12-031-21/+11
| | | | | | | | | | | | | | Commit 3827991e (...fix...not being able to remove try compile code, 2008-03-26) introduced a loop of RemoveFile attempts to overcome anti-virus locks on recently created try_compile executables. Fix the logic in this loop to work when the file is already missing.
* | Merge topic 'try-compile-min-version'Brad King2010-12-161-2/+3
|\ \ | | | | | | | | | | | | 2afb820 Write full version into try_compile CMakeLists
| * | Write full version into try_compile CMakeListsBrad King2010-12-141-2/+3
| | | | | | | | | | | | | | | | | | Pass the full version to cmake_minimum_required(VERSION) in generated CMake files for try_compile projects. This tells CMake not to use any backward compatibility behavior while processing code it generates.
* | | Merge topic 'link-depend-def-file'Brad King2010-12-161-0/+6
|\ \ \ | | | | | | | | | | | | | | | | 3e27997 Make link rule depend on ".def" file (#11014)
| * | | Make link rule depend on ".def" file (#11014)Brad King2010-12-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When the link command line references a ".def" file the rule should depend on it. Inspired-By: Eric Huhtala
* | | | Merge topic 'doc-target_link_libraries-scope'Brad King2010-12-162-2/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 999ce0a Document target_link_libraries target scope (#11058)
| * | | | Document target_link_libraries target scope (#11058)Brad King2010-12-152-2/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | The target_link_libraries command requires its first argument to be a target in the current directory. Document this and update the error message to be more specific. While at it, format the error message with a call stack.
* | | | Merge topic 'custom-command-slashes'Brad King2010-12-161-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | a75a0a1 Normalize add_custom_command OUTPUT names (#10485)
| * | | | 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.
* | | | Merge topic 'cray-compiler'Brad King2010-12-161-7/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ab9ebb0 Fix Fortran .mod timestamps with Cray compiler
| * | | | Fix Fortran .mod timestamps with Cray compilerBrad King2010-12-061-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 34e1ac24 (Create Fortran info variables for .mod behavior, 2010-11-12) incorrectly taught GetFortranModuleDirectory to return a relative path. We really want to use "." as the module directory only as a workaround for compilers that do not do so by default. Therefore we need this default only when generating the compiler command line and not when scanning dependencies. Revert the previous change to GetFortranModuleDirectory and apply the change only at one of its call sites.
* | | | | Merge topic 'CPack-MoreComponentControls'Brad King2010-12-164-4/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 6d94ea3 CPack use IsOn when it's better than IsSet
| * | | | | CPack use IsOn when it's better than IsSetEric NOULARD2010-12-124-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This authorize more control because one can set CPACK_ARCHIVE_COMPONENT_INSTALL to ON globally and then set it selectively to OFF inside a CPack project config file. Sidenote: GetOption ought to be a 'const' method.
* | | | | | Merge topic 'CPack-DynMONOLITHIC_INSTALL'Brad King2010-12-161-1/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 17b05e6 CPack Honor CPACK_MONOLITHIC_INSTALL at CPack time too
| * | | | | | CPack Honor CPACK_MONOLITHIC_INSTALL at CPack time tooEric NOULARD2010-12-121-1/+8
| |/ / / / /
* | | | | | KWSys Nightly Date StampKWSys Robot2010-12-161-1/+1
| |_|/ / / |/| | | |
* | | | | 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.