summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: add flag so a terminating slash for the link path can be specified ↵Alexander Neundorf2007-08-281-0/+3
| | | | | | (needed by the Digital Mars D compiler) Alex
* STYLE: more space in the cmake_install.cmake script (easier to read)Alexander Neundorf2007-08-211-2/+2
| | | | Alex
* ENH: Moved GetTargetDirectory method up to cmLocalGenerator. This provides ↵Brad King2007-08-011-0/+12
| | | | a common interface to something that was implemented in most local generators anyway.
* BUG: Only pay attention to the FRAMEWORK target property for SHARED library ↵David Cole2007-08-011-1/+2
| | | | targets
* PERF: micro optimization: the (*pos1) && (*pos1=='/') were redundant, andAlexander Neundorf2007-07-231-5/+3
| | | | | | | hasDoubleSlash is false in most cases, so in most cases 3 comparisons were done, now only one Alex
* STYLE: fix line lengths and add "remove -f" to the docsAlexander Neundorf2007-07-171-1/+2
| | | | Alex
* ENH: produce a lot more output when running with --debug-outputAlexander Neundorf2007-07-171-0/+5
| | | | | | -try to fix build error on HPUX Alex
* BUG: handle dependencies to imported targets better: don't create aAlexander Neundorf2007-06-211-1/+1
| | | | | | | | | dependency if the target name was not listed in DEPENDS, if it was listed in DEPENDS, create a dependency to the file Seems to work, but have to check with Brad. Alex
* ENH: Merging changes from branch CMake-SourceFile2-b between tagsBrad King2007-06-181-40/+26
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* ENH: determine typesize by compiling a file and reading strings from the ↵Alexander Neundorf2007-06-041-1/+2
| | | | | | | | | compiled output. Tested with various gcc, XCode, MSVC7, sdcc For OSX when doing TRY_COMPILE() CMAKE_OSX_ARCHITECTURES is used, if there are different results an error is generated. CMAKE_OSX_ARCHITECTURES can be overwritten for the TRY_COMPILES with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES. Alex
* ENH: Made cmTarget::GetSourceFiles method return reference to const so ↵Brad King2007-05-281-3/+3
| | | | addition of cmSourceFile pointers must be done with an access method in cmTarget.
* BUG: don't use non-imported target when cross compiling as commands in ↵Alexander Neundorf2007-05-241-2/+6
| | | | | | | | custom commands STYLE: remove now invalid comments, use this-> Alex
* ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not ↵Brad King2007-05-231-1/+0
| | | | targets.
* ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not ↵Brad King2007-05-231-28/+0
| | | | targets.
* ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create ↵Brad King2007-05-231-4/+1
| | | | targets. No targets of type cmTarget::INSTALL_FILES or cmTarget::INSTALL_PROGRAMS are created, so we do not need to check for them everywhere anymore.
* ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates anAlexander Neundorf2007-05-221-6/+5
| | | | | | | | | | "imported" executable target. This can then be used e.g. with ADD_CUSTOM_COMMAND() to generate stuff. It adds a second container for "imported" targets, and FindTarget() now takes an additional argument bool useImportedTargets to specify whether you also want to search in the imported targets or only in the "normal" targets. Alex
* ENH: Use CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES from platform files to ↵Brad King2007-05-181-3/+11
| | | | block link directories.
* COMP: fix link rules with nmake, the linker command has to be converted to ↵Alexander Neundorf2007-05-181-0/+1
| | | | | | shortpath form for nmake Alex
* ENH: Added testing for custom command line arguments containing all special ↵Brad King2007-05-171-0/+5
| | | | characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make.
* BUG: Do not emit /usr/lib32 or /usr/lib64 as linker paths. Submitted by ↵Brad King2007-05-161-0/+2
| | | | David Faure.
* BUG: fix -D escaped quotes for watcomBill Hoffman2007-05-101-0/+1
|
* ENH: now target names can be used in add_custom_command() andAlexander Neundorf2007-05-091-0/+39
| | | | | | | | | | 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: fix it so that the FRAMEWORK property does not break the building of ↵Bill Hoffman2007-05-081-0/+5
| | | | normal shared libs on non-mac platforms
* ENH: initial support for creation of frameworks on MacBill Hoffman2007-05-081-2/+5
|
* BUG: Fix ComputeLinkInformation. When using a loader_flag link item the ↵Brad King2007-04-181-9/+14
| | | | full per-configuration path should be used. The fullPathLibs returned should refer to the import library if it was used. Since the full paths are used for dependencies the executable used with loader_flag should be returned also.
* BUG: Cannot escape link items because some need the spaces to separate ↵Brad King2007-04-181-6/+6
| | | | arguments. Instead just escape the argument to the loader flag.
* BUG: Fix ComputeLinkInformation for non-linked targets. Why is it called ↵Brad King2007-04-181-7/+14
| | | | for utility targets anyway?
* ENH: Added use of platform variable CMAKE_SHARED_MODULE_LOADER_<lang>_FLAG ↵Brad King2007-04-171-15/+35
| | | | to add a special flag when linking a plugin to an executable that loads it.
* ENH: Added option CMAKE_INSTALL_SO_NO_EXE on linux to choose whether the ↵Brad King2007-04-101-0/+12
| | | | default permissions for shared libraries include the executable bit. This is necessary to support the conflicting policies of Debian and Fedora. These changes address bug#4805.
* ENH: make sure default /System framework is not added with -FBill Hoffman2007-03-301-0/+3
|
* ENH: Added target property ENABLE_EXPORTS for executable targets. It ↵Brad King2007-03-221-3/+13
| | | | enables the executables for linking by loadable modules that import symbols from the executable. This finishes the executable import library support mentioned in bug #4210.
* ENH: Added computation of object file names that are almost always short ↵Brad King2007-03-161-3/+89
| | | | 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.
* BUG: Reverting previous changes related to using an empty string for a ↵Brad King2007-03-141-2/+2
| | | | relative path to the current directory. Too many places want the . version. Instead we can just convert the . to an empty string in the one place that motiviated the original change.
* BUG: During relative path conversion if the remote and target paths are the ↵Brad King2007-03-141-2/+2
| | | | same return the empty string instead of ".".
* BUG: Fix check of EXCLUDE_FROM_ALL property to use boolean type. This is ↵Brad King2007-03-131-1/+1
| | | | required for installation of subdirectories to work.
* ENH: some code cleanupKen Martin2007-03-121-11/+1
|
* BUG: Use real path subdirectory check instead of substring comparison to ↵Brad King2007-03-091-40/+17
| | | | identify when paths are below the relative path tops. Otherwise when the build tree is next to the source tree with the same name plus a suffix the relative path from the binary to source tree is allowed even though it goes outside cmake-managed directories.
* ENH: Implemented new policy to choose the directory part of the object file ↵Brad King2007-03-091-15/+33
| | | | name. This should keep the names looking as nice and short as possible. This partially addresses bug#4520.
* ENH: Added implib option to cmTarget::GetDirectory to support a separate ↵Brad King2007-03-091-2/+6
| | | | directory containing the import library. This is an incremental step for bug#4210.
* BUG: Some calls to Convert() were converting for MAKEFILE but then passing ↵Brad King2007-03-081-1/+1
| | | | the output to the build shell. The calls have now been converted to call Convert() with SHELL.
* ENH: SetupPathConversions is now called automatically on demand.Brad King2007-03-081-3/+9
|
* ENH: Modified GetObjectFileNameWithoutTarget to use relative paths for ↵Brad King2007-03-071-9/+8
| | | | object file names with sources above the current directory so long as the relative path conversion works.
* ENH: Improved computation of RelativePathTopSource and RelativePathTopBinary ↵Brad King2007-03-071-31/+35
| | | | to use higher relative path tops when the source directories jump around in a tree below the original source top.
* ENH: Set RelativePathTopSource and RelativePathTopBinary independently for ↵Brad King2007-03-071-5/+44
| | | | each local generator. Relative path conversion is safe within a tree as long as it does not go above the highest parent directory still managed by CMake.
* COMP: Add missing include for assert.Brad King2007-03-071-0/+2
|
* ENH: Moved ConvertToRelativePath from cmGlobalGenerator to cmLocalGenerator. ↵Brad King2007-03-071-12/+170
| | | | This is in preparation for setting up each local generator to have its own RelativePathTopSource and RelativePathTopBinary based on its ancestor directories.
* ENH: remove qnx special stuff that does not workBill Hoffman2007-02-281-9/+0
|
* ENH: one more pass at paths with spaces and parensBill Hoffman2007-02-281-22/+9
|
* ENH: go back to \ escapes for qnxBill Hoffman2007-02-261-8/+22
|
* ENH: go back to EscapeForShell versionBill Hoffman2007-02-261-22/+8
|