summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Define RULE_LAUNCH_* propertiesBrad King2009-02-101-0/+2
| | | | | | | This defines global, directory, and target properties RULE_LAUNCH_COMPILE, RULE_LAUNCH_LINK, and RULE_LAUNCH_CUSTOM. Their values specify 'launcher' command lines which are prefixed to compile, link, and custom build rules by Makefile generators.
* ENH: Give target in which custom commands buildBrad King2009-02-101-3/+6
| | | | | | This gives the cmTarget instance for which custom command rules are being generated to cmLocalUnixMakefileGenerator3::AppendCustomCommands. It will be useful in the future.
* BUG: Do not re-generate after a AppBundle buildBrad King2009-02-061-2/+2
| | | | | | | A previous change accidentally added the MacOS content directory and Info.plist files created for MACOSX_BUNDLE executables to the list of CMake input files. This causes CMake to re-generate the project too often. These items should be added to the list of CMake output files.
* ENH: Factor out listing of objects on command lineBrad King2008-10-151-26/+2
| | | | | | Previously generation of object file lists for linker and cleaning command lines was duplicated for library and executable target generators. This combines the implementations.
* STYLE: Remove computed but unused variable.Brad King2008-10-151-3/+0
| | | | | An old list of object files for cleaning seems to have been left behind. This removes it.
* ENH: Fix optional use of relative paths.Brad King2008-10-091-2/+2
| | | | | | | These changes refactor cmLocalGenerator methods Convert and ConvertToOutputForExisting to support references inside the build tree using relative paths. After this commit, all tests pass with Makefile generators when relative paths are enabled by default. See issue #7779.
* BUG: Fix issue #3648 - make sure CMake reruns if a Bundle application's ↵David Cole2008-09-021-0/+2
| | | | directory is removed or if it's Info.plist file disappears since those elements are put in place at CMake configure time.
* BUG: Do not create target output directory in cmTarget. Let the generators ↵Brad King2008-04-071-0/+2
| | | | do it.
* ENH: Handle large object file lists on some platformsBrad King2008-02-271-1/+24
| | | | | | | - Use a response file when enabled by CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS - Enable for C and CXX with cl (MSVC) - Enable for Fortran with ifort (Intel Fortran)
* BUG: Link scripts should be generated with copy-if-different and included as ↵Brad King2008-02-201-1/+1
| | | | a dependency of the link rule.
* ENH: Cleanup impl of PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE propertiesBrad King2008-02-181-16/+34
|
* ENH: Cleanup building of OS X bundle contentBrad King2008-02-151-29/+1
| | | | | | | | | | - Fixes repeated rebuild of bundles by Makefile generators - Add special rules to copy sources to their MACOSX_PACKAGE_LOCATION bundle directory - Remove MacOSX_Content language hack - Remove EXTRA_CONTENT property - Remove MACOSX_CONTENT - Remove corresponding special cases in object names
* ENH: Allow multiple OS X applications bundles to be created in a single ↵Brad King2008-02-141-12/+4
| | | | build directory. Converted Info.plist files to be generated directly instead of configured with make variables. The MACOSX_BUNDLE_* variables are now properties (and vars for compatibility).
* ENH: Enable use of link script whenever incremental archive construction ↵Brad King2008-01-301-0/+6
| | | | rules are available. Enable use of archive construction rules on MSYS.
* ENH: Updated exporting and importing of targets to support libraries and ↵Brad King2008-01-281-2/+2
| | | | | | | | | | | | | | | | | | configurations. - Created cmExportFileGenerator hierarchy to implement export file generation - Installed exports use per-config import files loaded by a central one. - Include soname of shared libraries in import information - Renamed PREFIX to NAMESPACE in INSTALL(EXPORT) and EXPORT() commands - Move addition of CMAKE_INSTALL_PREFIX to destinations to install generators - Import files compute the installation prefix relative to their location when loaded - Add mapping of importer configurations to importee configurations - Rename IMPORT targets to IMPORTED targets to distinguish from windows import libraries - Scope IMPORTED targets within directories to isolate them - Place all properties created by import files in the IMPORTED namespace - Document INSTALL(EXPORT) and EXPORT() commands. - Document IMPORTED signature of add_executable and add_library - Enable finding of imported targets in cmComputeLinkDepends
* ENH: Simplified and moved link script implementation up from ↵Brad King2007-12-281-36/+66
| | | | cmMakefileLibraryTargetGenerator to cmMakefileTargetGenerator and use for cmMakefileExecutableTargetGenerator too. This addresses bug #6192.
* ENH: Add a depends check step to custom targets. Add support for the ↵Brad King2007-12-211-3/+4
| | | | IMPLICIT_DEPENDS feature of custom commands when building in custom targets. Convert multiple-output pair checks to be per-target instead of global.
* ENH: do not remove executables and dll's before linking them so that ↵Bill Hoffman2007-10-181-12/+1
| | | | incremental links work, incremental links are still broken for vs 2005 and greater because of the manifest stuff
* ENH: Simplify makefile target generator listing of object files to clean.Brad King2007-08-021-5/+1
|
* COMP: Fix build on mac after change to GetSourceFiles signature.Brad King2007-05-281-1/+1
|
* BUG: A utility target should not run the custom commands from its source ↵Brad King2007-05-011-1/+1
| | | | files directly. The target-level rule must add dependencies on the file-level custom commands to drive them. This bug was introduced by the "fix" to bug 4377. This also restores the documented behavior that PRE_BUILD rules are treated as PRE_LINK rules on non-VS generators. Also fixed custom command dependencies on the rule file build.make so that custom commands re-run when the commands themselves change.
* ENH: Added platform variable CMAKE_EXE_EXPORTS_<lang>_FLAG to add a linker ↵Brad King2007-04-181-0/+10
| | | | flag when building executables that have the ENABLE_EXPORTS property set.
* ENH: Added target property ENABLE_EXPORTS for executable targets. It ↵Brad King2007-03-221-0/+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 support for import libraries created by executable and module ↵Brad King2007-03-191-3/+32
| | | | targets. The module import libraries should never be used but some windows compilers always create them for .dll files since there is no distinction from shared libraries on that platform. The executable import libraries may be used to create modules that when loaded bind to symbols from the executables. This is an enhancement related to bug#4210 though not requested by it explicitly.
* BUG: Fixed OSX bundles to be built in the directory specified by ↵Brad King2007-03-091-16/+9
| | | | cmTarget::GetDirectory(). This is an incremental step for bug#2240.
* ENH: Combined cmTarget::GetDirectory and cmTarget::GetOutputDir since they ↵Brad King2007-03-081-1/+1
| | | | are nearly the same. This is another step for bug#2240.
* ENH: Replaced LibraryOutputPath and ExecutableOutputPath variables in ↵Brad King2007-03-081-6/+2
| | | | Makefile and VS generators to instead ask each target for its output path. This significantly reduces total code size and centralizes previously duplicate code. It is also a step towards bug#2240.
* BUG: Some calls to Convert() were converting for MAKEFILE but then passing ↵Brad King2007-03-081-3/+3
| | | | the output to the build shell. The calls have now been converted to call Convert() with SHELL.
* BUG: Do not clean the .pdb file for a target just before it is linked! This ↵Brad King2007-02-011-3/+8
| | | | finishes addressing bug#4341.
* BUG: Clean rule for exe pdb file should use full path.Brad King2007-02-011-1/+1
|
* BUG: The .pdb file generated for a library or executable should match the ↵Brad King2007-02-011-4/+9
| | | | real file name used for the target. This addresses bug#3277.
* ENH: Made cmMakefileTargetGenerator::GlobalGenerator have full type ↵Brad King2006-12-141-1/+1
| | | | cmGlobalUnixMakefileGenerator3 to give access to all methods. Fixed broken custom targets with no commands for Borland makefiles when CMAKE_SKIP_RULE_DEPENDENCY is set.
* ENH: Adding image version number (major.minor) property to windows binaries. ↵Brad King2006-10-161-0/+18
| | | | 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: Fix/cleanup custom commands and custom targets. Make empty comment ↵Brad King2006-09-281-0/+6
| | | | strings work. Fix ZERO_CHECK target always out of date for debugging. Fix Makefile driving of custom commands in a custom target. Fix dependencies on custom targets not in ALL in VS generators.
* BUG: Need to clean manifest files that may have been generated for .exe and ↵Brad King2006-08-151-0/+7
| | | | .dll files.
* BUG: Several fixes to handle bundle content on Mac OSXAndy Cedilnik2006-07-061-0/+5
|
* ENH: centralized locaiton of CMakeFiles settingKen Martin2006-06-141-1/+3
|
* BUG: Custom command outputs listed explicitly as source files in a target ↵Brad King2006-06-011-17/+9
| | | | should be generated whether or not an object file in the target needs them. This useful and makes Makefile builds more consistent with VS IDE builds.
* BUG: Finished fix to bug#3229 and bug#3272.Brad King2006-05-231-1/+0
|
* BUG: Added missing cd command before running executable version symlink ↵Brad King2006-05-161-0/+6
| | | | rule. This addresses bug#3229.
* STYLE: fix line lengthKen Martin2006-05-121-17/+27
|
* ENH: name pdb files for visual studio make based buildsBill Hoffman2006-04-191-6/+12
|
* ENH: add support for per config target LINK_FLAGSBill Hoffman2006-04-031-1/+4
|
* ENH: Implemented VT100 terminal escape sequences. If CMAKE_COLOR_MAKEFILE ↵Brad King2006-03-301-1/+2
| | | | is set then messages produced by makefiles will be in color if the native tool supports it. This addresses bug#3060.
* ENH: Add support for adding content to bundlesAndy Cedilnik2006-03-281-13/+32
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-5/+5
|
* ENH: use a cmake script to do the clean step, this allows for large numbers ↵Bill Hoffman2006-03-091-4/+7
| | | | of files to be removed without making the command line too long
* BUG: Fixed installation of MacOSX Bundle executables and the corresponding ↵Brad King2006-03-031-5/+8
| | | | install_name remapping support. Extended the BundleTest test to check that this all works. Part of these fixes required changing the signature of AppendDirectoryForConfig in all generators. It now accepts prefix and suffix strings to deal with whether leading or trailing slashes should be included with the configuration subdirectory.
* BUG: Fix generation of Xcode 2.0 and earlier projects to use CMAKE_BUILD_TYPE.Brad King2006-02-241-2/+5
|
* ENH: change expand stuff to pass a struct for all the argsBill Hoffman2006-02-201-11/+9
|