summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* BUG: fix xcode depend issue and add a test for itBill Hoffman2009-02-191-1/+1
|
* BUG: Fix issue #8253 - handle xib file extension in Xcode projects so that ↵David Cole2009-02-191-0/+4
| | | | double clicking on xib files opens them up in Interface Builder. Thanks to baron_roberts for the patch.
* BUG: fix depend bug again for XcodeBill Hoffman2009-02-191-3/+2
|
* BUG: use the top level project name for the xcode depend helper directory namesBill Hoffman2009-02-181-1/+2
|
* BUG: Fix issue #6195. Add CMAKE_OSX_DEPLOYMENT_TARGET cache variable to ↵David Cole2009-01-271-0/+7
| | | | specify the target deployment runtime OS version of the built executables on Mac OSX. Thanks to Mike Jackson for the patch.
* BUG: Fix LOCATION property for Mac AppBundlesBrad King2009-01-201-10/+0
| | | | | | | Previously cmTarget::GetLocation and cmTarget::GetFullPath would return for Mac AppBundles the top-level bundle directory but without the .app extension. We worked around this at the call sites. This fixes the methods and removes the work-arounds. See issue #8406.
* ENH: Put custom target sources in Xcode projectsBrad King2008-10-091-24/+61
| | | | | Source files in custom targets are now placed in the Xcode project for convenient editing. See issue #5848.
* BUG: 7763 fix, OPTIMIZATION was not set right. Also fix for BUG 7764, put ↵Bill Hoffman2008-10-021-16/+14
| | | | XCODE_ATTRIBUTES_ last
* ENH: Use improved target dependencies for XcodeBrad King2008-09-151-62/+4
| | | | | | | In cmGlobalGenerator we use cmComputeTargetDepends to construct a safe, non-circular set of inter-target dependencies. This change enables use of the results by the Xcode generator. It also removes a lot of old code and another use of the old-style linking logic. See issue #7652.
* BUG: make sure flag is found even with extra spaces at the startBill Hoffman2008-09-111-1/+1
|
* BUG: Fix issue #7046 - make sure extensionless headers and resource files ↵David Cole2008-09-051-17/+31
| | | | work with the Xcode generator. Also fix incorrect mappings in the lastKnownFileType code. Add some extensionless files to the Framework test.
* ENH: Create Info.plist files in OS X FrameworksBrad King2008-09-021-0/+12
| | | | | | | A Mac OS X Framework should provide a Resources/Info.plist file containing meta-data about the framework. This change generates a default Info.plist for frameworks and provides an interface for users to customize it.
* ENH: Simplify string attributes in Xcode generatorBrad King2008-09-021-15/+1
| | | | | | | This change cleans up the implementation of cmXCodeObject to avoid un-escaping and re-escaping string values. There is no need to store the string in escaped form. It can be escaped once when it is printed out to the generated project file.
* BUG: fix for bug 7316Bill Hoffman2008-07-141-4/+0
|
* ENH: Set version info for shared libs on OSX.Brad King2008-07-091-4/+32
| | | | | | - Map SOVERSION major.minor.patch to compatibility_version - Map VERSION major.minor.patch to current_version - See issue #4383.
* BUG: Do not build human-reference files in XcodeBrad King2008-07-071-1/+8
| | | | | | | | - The Info.plist file in app bundles should not be built. - User-specified files such as foo.txt should not be built. - Only files with a recognized language should be built, just as in the Makefiles generators. - See bug #7277.
* ENH: Add projectRoot to Xcode projectsBrad King2008-07-071-0/+7
| | | | | | - This attribute points Xcode at the source tree. - Xcode 3 wants this to be set always. - See bug #7044.
* BUG: Fix AppBundle=>Library depends in XcodeBrad King2008-07-071-2/+12
| | | | | | - The Xcode generator xcode-depend-helper needs to account for the paths of executables within application bundles. - See bug #7278.
* BUG: Fix Xcode reference to Info.plist resourceBrad King2008-07-031-10/+15
| | | | | | | | | | | - Generated Xcode projects for application bundles list the CMake-generated Info.plist input file as a resource. - The location of the input file was moved by a previous commit, but the reference to it as a resource file was not updated. - This change moves the file to CMakeFiles/<tgt>.dir/Info.plist to give it a more intuitive name in the Xcode project. - We also update the reference to point at the correct location. - See bug #7277.
* BUG: Fix Xcode per-config bundle name in Info.plistBrad King2008-07-031-1/+5
| | | | | | | | | - The Xcode generator creates one Info.plist input file which is converted at build time by Xcode and placed in the final bundle. - The <CONFIG>_OUTPUT_NAME target property can place different content for the exe name in Info.plist on a per-configuration basis. - Instead of generating a per-config Info.plist input file just let Xcode put the name in at build time using the $(EXECUTABLE_NAME) var.
* ENH: fix for flags that have sub-string matchesBill Hoffman2008-06-061-1/+1
|
* ENH: allow users to set sysrootBill Hoffman2008-04-281-1/+22
|
* BUG: Correct Mac OS X framework behaviorBrad King2008-04-081-48/+13
| | | | | | | | | | | | - Place the built library in foo.framework/Versions/A/foo - Do not create unused content symlinks (like PrivateHeaders) - Do not use VERSION/SOVERSION properties for frameworks - Make cmTarget::GetDirectory return by value - Remove the foo.framework part from cmTarget::GetDirectory - Correct install_name construction and conversion on install - Fix MACOSX_PACKAGE_LOCATION under Xcode to use the Versions/<version> directory for frameworks - Update the Framework test to try these things
* ENH: Cleanup impl of PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE propertiesBrad King2008-02-181-8/+8
|
* ENH: Allow multiple OS X applications bundles to be created in a single ↵Brad King2008-02-141-12/+9
| | | | 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: Avoid computing link information for static library targets. They do ↵Brad King2008-02-071-20/+25
| | | | not link.
* ENH: Add cmTarget::GetLinkInformation method to allow several places in the ↵Brad King2008-01-291-2/+3
| | | | generators to share link information while only computing it once per configuration for a target. Use it to simplify the chrpath feature.
* ENH: Support exporting/importing of Framework targets.Brad King2008-01-281-6/+3
| | | | | | | | - Imported frameworks have the FRAMEWORK property set - Added cmTarget::IsFrameworkOnApple method to simplify checks - Also remove separate IMPORTED_ENABLE_EXPORTS property and just use ENABLE_EXPORTS since, like FRAMEWORK, it just represents the target type. - Document FRAMEWORK keyword in INSTALL command. - Updated IMPORTED_LOCATION property documentation for Frameworks
* ENH: Updated exporting and importing of targets to support libraries and ↵Brad King2008-01-281-4/+4
| | | | | | | | | | | | | | | | | | 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: Implement linking with paths to library files instead of -L and -l ↵Brad King2008-01-221-39/+49
| | | | | | | | | | | | | | | | | separation. See bug #3832 - This is purely an implementation improvement. No interface has changed. - Create cmComputeLinkInformation class - Move and re-implement logic from: cmLocalGenerator::ComputeLinkInformation cmOrderLinkDirectories - Link libraries to targets with their full path (if it is known) - Dirs specified with link_directories command still added with -L - Make link type specific to library names without paths (name libfoo.a without path becomes -Wl,-Bstatic -lfoo) - Make directory ordering specific to a runtime path computation feature (look for conflicting SONAMEs instead of library names) - Implement proper rpath support on HP-UX and AIX.
* ENH: Converted cmMakefile DefineFlags added by ADD_DEFINITIONS command into ↵Brad King2008-01-181-0/+4
| | | | a COMPILE_DEFINITIONS directory property.
* ENH: Renamed <CONFIG>_COMPILE_DEFINITIONS to COMPILE_DEFINITIONS_<CONFIG> ↵Brad King2008-01-161-2/+2
| | | | for better documentation clarity.
* COMP: Fix warning about backslash at end of c++ comment.Brad King2008-01-141-1/+1
|
* ENH: Create COMPILE_DEFINITIONS property for targets and source files. ↵Brad King2008-01-141-9/+83
| | | | Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators.
* BUG: fix for bug 6193, fix xcode depend helperBill Hoffman2008-01-101-8/+13
|
* BUG: Revert previous change until it works on all OSX versions.Brad King2007-12-231-1/+1
|
* ENH: Simplify target-level dependencies by depending only on directly linked ↵Brad King2007-12-221-1/+1
| | | | targets instead of those chained.
* ENH: Make static library targets depend on targets to which they "link" for ↵Brad King2007-12-211-21/+20
| | | | the purpose of build ordering. This makes the build order consistent for static and shared library builds. It is also useful when custom command inputs of one library are generated as custom commands outputs of another. It may be useful in the future for Fortran module dependencies. Implemented for Makefiles, Xcode, and VS 8 and above. Added sample code to do it for VS 7.1 and below, but left it disabled with comments explaining why. Likely it will never be needed on VS 7.1 or below anyway.
* ENH: Implemented generation of display for pre-build, pre-link, and ↵Brad King2007-12-181-5/+8
| | | | post-build custom command comments during the build. This addresses issue #5353.
* BUG: Remove stray debugging message.Brad King2007-12-181-1/+0
|
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-3/+3
| | | | there, also provides secitons for Variables now
* ENH: Finish up the Framework creation code restructuring. Frameworks build ↵David Cole2007-10-101-29/+44
| | | | and install now. More work needed on the packaging step. See Tests/Framework for example use.
* ENH: fix build issue with config type not being specified by ctestBill Hoffman2007-09-171-0/+6
|
* COMP: Fix shadowed local warning by scoping the previous decl properly.Brad King2007-09-131-2/+2
|
* ENH: Added XCODE_ATTRIBUTE_<an-attribute> property to allow direct setting ↵Brad King2007-09-101-0/+15
| | | | of Xcode target attributes in generated projects. For example, one may set the prefix header property and the corresponding precompiled option to do precompiled headers.
* STYLE: Fix line length style errors introduced last week.David Cole2007-08-201-2/+4
|
* ENH: Improvements to the Xcode generator. Build frameworks using native Copy ↵David Cole2007-08-141-203/+324
| | | | Headers and Copy Bundle Resources phases. Fix bugs: eliminate folders with no names, ensure source files show up in multiple targets, remove empty utility targets from Sources subtrees, ensure that fileRefs only show up once in each grouping folder.
* BUG: Only pay attention to the FRAMEWORK target property for SHARED library ↵David Cole2007-08-011-3/+6
| | | | targets
* ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to doAlexander Neundorf2007-06-281-2/+2
| | | | | | | | | | | | | something like this: ENABLE_LANGUAGE(ASM-ATT) IF(CMAKE_ASM-ATT_COMPILER_WORKS) ... do assembler stufff ELSE(CMAKE_ASM-ATT_COMPILER_WORKS) ... fallback to generic C/C++ ENDIF(CMAKE_ASM-ATT_COMPILER_WORKS) Alex
* ENH: Merging changes from branch CMake-SourceFile2-b between tagsBrad King2007-06-181-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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.