summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Added method cmLocalGenerator::GetBackwardsCompatibility to reduce ↵Brad King2007-12-291-0/+21
| | | | parsing of CMAKE_BACKWARDS_COMPATIBILITY variable. Add cmLocalGenerator::NeedBackwardsCompatibility to simplify checks for compatibility requirements.
* ENH: Enabled color printing of "Scanning dependencies of target ..." message.Brad King2007-12-191-1/+2
|
* ENH: Moved dependency integrity check from CheckBuildSystem over to a ↵Brad King2007-12-191-6/+7
| | | | per-target UpdateDependencies step. This greatly reduces the startup time for make processes and allows individual targets to be built without a global dependency check.
* STYLE: fix warnings: comparison signed/unsigned, unused variableAlexander Neundorf2007-12-191-1/+1
| | | | Alex
* ENH: add support for chrpath, so the RPATH in ELF files can be changed whenAlexander Neundorf2007-12-181-4/+7
| | | | | | | | | | | | | | | | | | installing without having to link the target again -> can save a lot of time chrpath is handled very similar to install_name_tool on the mac. If the RPATH in the build tree file is to short, it is padded using the separator character. This is currently disabled by default, it can be enabled using the option CMAKE_USE_CHRPATH. There are additional checks whether it is safe to enable it. I will rework them and use FILE(READ) instead to detect whether the binaries are actually ELF files. chrpath is available here http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/ or kde svn (since a few days): http://websvn.kde.org/trunk/kdesupport/chrpath/ Alex
* STYLE: restructure OutputLinkLibraries() a bit, so that new there is aAlexander Neundorf2007-11-261-0/+4
| | | | | | | | function which returns the RPATH, so e.g. the install rpath can be queried when the command for the build rpath is created. This is a first step for supporting chrpath. Alex
* ENH: Moved GetTargetDirectory method up to cmLocalGenerator. This provides ↵Brad King2007-08-011-0/+6
| | | | a common interface to something that was implemented in most local generators anyway.
* ENH: Merging changes from branch CMake-SourceFile2-b between tagsBrad King2007-06-181-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | CMake-SourceFile2-bp and CMake-SourceFile2-b-mp1 to trunk. This commit is surrounded by tags CMake-SourceFile2-b-mp1-pre and CMake-SourceFile2-b-mp1-post on the trunk. The changes re-implement cmSourceFile and the use of it to allow instances to be created much earlier. The use of cmSourceFileLocation allows locating a source file referenced by a user to be much simpler and more robust. The two SetName methods are no longer needed so some duplicate code has been removed. The strange "SourceName" stuff is gone. Code that created cmSourceFile instances on the stack and then sent them to cmMakefile::AddSource has been simplified and converted to getting cmSourceFile instances from cmMakefile. The CPluginAPI has preserved the old API through a compatibility interface. Source lists are gone. Targets now get real instances of cmSourceFile right away instead of storing a list of strings until the final pass. TraceVSDependencies has been re-written to avoid the use of SourceName. It is now called TraceDependencies since it is not just for VS. It is now implemented with a helper object which makes the code simpler.
* STYLE: remove duplicate non-const accessors GetLocalGenerator(int) andAlexander Neundorf2007-06-151-0/+4
| | | | | | | | | | | | GetLocaGenerators(cmLocalGenerators) from cmGlobalGenerator(). Now there is one const accessor which is even faster since it returns a reference (instead of copying a vector) -more const to ensure that this the returned local generators don't actually get modified -removed duplicated code in GetCTestCommand() and GetCPackCommand() -added some const accessors Alex
* ENH: Added testing for custom command line arguments containing all special ↵Brad King2007-05-171-0/+1
| | | | characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make.
* BUG: fix -D escaped quotes for watcomBill Hoffman2007-05-101-1/+1
|
* BUG: fix problem for non-C/CXX languages with Visual Studio, theAlexander Neundorf2007-05-091-1/+3
| | | | | | | dependencies for the custom commands added for java were not handled correctly. Needs more work. Alex
* ENH: now target names can be used in add_custom_command() andAlexander Neundorf2007-05-091-1/+13
| | | | | | | | | | add_custom_target() as COMMAND, and cmake will recognize them and replace them with the actual output path of these executables. Also the dependency will be added automatically. Test included. ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(), so it is done now in one central place Alex
* ENH: Added computation of object file names that are almost always short ↵Brad King2007-03-161-2/+4
| | | | enough to not exceed the filesystem path length limitation. This is useful when a source file from outside the tree is referenced with a long full path. The object file name previously would contain the entire path which when combined with the build output directory could exceed the filesystem limit. Now CMake recognizes this case and replaces enough of the beginning of the full path to the source file with an md5sum of the replaced portion to make the name fit on disk. This addresses bug#4520.
* ENH: some code cleanupKen Martin2007-03-121-4/+0
|
* ENH: SetupPathConversions is now called automatically on demand.Brad King2007-03-081-3/+2
|
* ENH: Improved computation of RelativePathTopSource and RelativePathTopBinary ↵Brad King2007-03-071-0/+2
| | | | to use higher relative path tops when the source directories jump around in a tree below the original source top.
* COMP: Fix ConvertToRelativePath change for Xcode generator.Brad King2007-03-071-10/+10
|
* ENH: Moved ConvertToRelativePath from cmGlobalGenerator to cmLocalGenerator. ↵Brad King2007-03-071-0/+21
| | | | This is in preparation for setting up each local generator to have its own RelativePathTopSource and RelativePathTopBinary based on its ancestor directories.
* ENH: Make EXCLUDE_FROM_ALL a target and directory properties. Also, make ↵Andy Cedilnik2007-02-231-9/+2
| | | | IsInAll use EXCLUDE_FROM_ALL. Also, enable the test that tests this
* ENH: check in initial conv library stuffBill Hoffman2007-02-161-1/+11
|
* ENH: Adding support for # escape in Watcom WMake.Brad King2006-10-251-0/+1
|
* ENH: Adding image version number (major.minor) property to windows binaries. ↵Brad King2006-10-161-0/+2
| | | | Default is 0.0, but the VERSION target property may change the value. Windows now has first-class support for dll and exe versioning. This addresses bug#1219.
* BUG: Fixed display of custom command comments with quotes, dollars, and ↵Brad King2006-10-041-2/+5
| | | | other special characters in them.
* BUG: MSYS makefile shell needs posix paths to executables in some cases and ↵Brad King2006-09-281-0/+1
| | | | it does not hurt to do it always.
* BUG: Do not filter system directories for include file dependencies.Brad King2006-09-281-1/+2
|
* ENH: Re-implemented command line argument shell quoting to support several ↵Brad King2006-09-271-2/+7
| | | | platforms with one code base.
* BUG: Enabled use of EscapeForShell to properly escape custom command lines. ↵Brad King2006-09-211-2/+2
| | | | This addresses bug#3786 for Xcode.
* BUG: Centralized generation of command line arguments in escaped form. This ↵Brad King2006-09-211-4/+4
| | | | addresses bug#3786 for several platforms.
* ENH: make sure RuleVariable struct is initialized correctly, also make sure ↵Bill Hoffman2006-08-081-14/+1
| | | | custom command targets do not crash cmake
* ENH: Added generation of rules to manually request preprocessed or generated ↵Brad King2006-08-081-0/+4
| | | | assembly sources.
* ENH: Moved GetSourceFileLanguage up to cmLocalGenerator.Brad King2006-08-031-0/+3
|
* ENH: Moved unique object file name computation from ↵Brad King2006-07-111-0/+5
| | | | cmLocalUnixMakefileGenerator3 up to cmLocalGenerator for use by all generators. Created cmLocalVisualStudioGenerator as superclass for all VS generators. Implemented on-demand unique object file name computation for VS 7 generator to avoid slow compiles when all sources are in subdirectories.
* BUG: Updated Makefile dependency scanning to provide a full local generator ↵Brad King2006-05-251-2/+1
| | | | to the dependency scanner to do proper path conversions. This allows the rules written into the depend.make files to use the same relative path conversion as those written into the build.make files. Several previous changes added more and more information for use by the dependency scanner and it was converging to having the full local generator anyway.
* ENH: name pdb files for visual studio make based buildsBill Hoffman2006-04-191-0/+1
|
* ENH: fix java and add OBJECT_DIR supportBill Hoffman2006-04-171-0/+2
|
* ENH: Added support for multiple outputs generated by a single custom ↵Brad King2006-04-111-1/+5
| | | | command. For Visual Studio generators the native tool provides support. For Xcode and Makefile generators a simple trick is used. The first output is considered primary and has the build rule attached. Other outputs simply depend on the first output with no build rule. During cmake_check_build_system CMake detects when a secondary output is missing and removes the primary output to make sure all outputs are regenerated. This approach always builds the custom command at the right time and only once even during parallel builds.
* ENH: Added global TargetManifest computation between Configure and Generate ↵Brad King2006-04-041-1/+6
| | | | steps. This allows generators to know what other targets will exist on disk when the build completes.
* ENH: add support for universal binariesBill Hoffman2006-03-241-1/+1
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-23/+23
|
* STYLE: fix line lengthsBill Hoffman2006-03-101-3/+6
|
* ENH: add support for language flags at rule expansion timeBill Hoffman2006-03-061-0/+1
|
* ENH: Created target property INSTALL_NAME_DIR initalized by ↵Brad King2006-02-241-0/+2
| | | | CMAKE_INSTALL_NAME_DIR specifying the directory portion of the OSX install_name field in shared libraries. This is the OSX equivalent of RPATH.
* BUG: Fix generation of Xcode 2.0 and earlier projects to use CMAKE_BUILD_TYPE.Brad King2006-02-241-2/+4
|
* ENH: make it compile on vs6Bill Hoffman2006-02-201-17/+16
|
* ENH: change expand stuff to pass a struct for all the argsBill Hoffman2006-02-201-20/+32
|
* BUG: Xcode generator should use local generator computation of include ↵Brad King2006-02-201-3/+3
| | | | directories.
* ENH: Created new install script generation framework. The INSTALL command ↵Brad King2006-02-191-10/+5
| | | | creates the generators which are later used by cmLocalGenerator to create the cmake_install.cmake files. A new target installation interface is provided by the INSTALL command which fixes several problems with the INSTALL_TARGETS command. See bug#2691. Bugs 1481 and 1695 are addressed by these changes.
* ENH: Generate import libraries for DLLs on Cygwin and MinGW.Brad King2006-02-181-0/+4
|
* ENH: Implemented RPATH specification support. It is documented by the ↵Brad King2006-02-161-1/+1
| | | | command SET_TARGET_PROPERTIES.