David Cole
6e87aa49e6
BUG: Fix issue #8253 - handle xib file extension in Xcode projects so that double clicking on xib files opens them up in Interface Builder. Thanks to baron_roberts for the patch.
2009-02-19 11:20:09 -05:00
Bill Hoffman
65c1511814
BUG: fix depend bug again for Xcode
2009-02-19 10:31:16 -05:00
Bill Hoffman
f535cf99ed
BUG: use the top level project name for the xcode depend helper directory names
2009-02-18 12:09:20 -05:00
David Cole
1dee719cdc
BUG: Fix issue #6195 . Add CMAKE_OSX_DEPLOYMENT_TARGET cache variable to specify the target deployment runtime OS version of the built executables on Mac OSX. Thanks to Mike Jackson for the patch.
2009-01-27 10:30:55 -05:00
Brad King
acb0e8fb85
BUG: Fix LOCATION property for Mac AppBundles
...
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 .
2009-01-20 15:49:37 -05:00
Brad King
576167d381
ENH: Put custom target sources in Xcode projects
...
Source files in custom targets are now placed in the Xcode project for
convenient editing. See issue #5848 .
2008-10-09 11:01:48 -04:00
Bill Hoffman
600470e5ca
BUG: 7763 fix, OPTIMIZATION was not set right. Also fix for BUG 7764, put XCODE_ATTRIBUTES_ last
2008-10-02 13:49:32 -04:00
Brad King
76c5697a16
ENH: Use improved target dependencies for Xcode
...
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 .
2008-09-15 09:51:47 -04:00
Bill Hoffman
7ac6912d5e
BUG: make sure flag is found even with extra spaces at the start
2008-09-11 14:50:38 -04:00
David Cole
58be1b005f
BUG: Fix issue #7046 - make sure extensionless headers and resource files work with the Xcode generator. Also fix incorrect mappings in the lastKnownFileType code. Add some extensionless files to the Framework test.
2008-09-05 15:51:19 -04:00
Brad King
f89dae7a94
ENH: Create Info.plist files in OS X Frameworks
...
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.
2008-09-02 12:06:32 -04:00
Brad King
698b8044a6
ENH: Simplify string attributes in Xcode generator
...
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.
2008-09-02 10:27:15 -04:00
Bill Hoffman
e5ba0296c2
BUG: fix for bug 7316
2008-07-14 18:51:54 -04:00
Brad King
0d54001276
ENH: Set version info for shared libs on OSX.
...
- Map SOVERSION major.minor.patch to compatibility_version
- Map VERSION major.minor.patch to current_version
- See issue #4383 .
2008-07-09 10:09:46 -04:00
Brad King
9a3c0bf073
BUG: Do not build human-reference files in Xcode
...
- 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 .
2008-07-07 13:12:21 -04:00
Brad King
e225a377b9
ENH: Add projectRoot to Xcode projects
...
- This attribute points Xcode at the source tree.
- Xcode 3 wants this to be set always.
- See bug #7044 .
2008-07-07 10:57:32 -04:00
Brad King
97e658c571
BUG: Fix AppBundle=>Library depends in Xcode
...
- The Xcode generator xcode-depend-helper needs to account
for the paths of executables within application bundles.
- See bug #7278 .
2008-07-07 10:05:29 -04:00
Brad King
1342965b05
BUG: Fix Xcode reference to Info.plist resource
...
- 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 .
2008-07-03 13:28:54 -04:00
Brad King
264af17bfc
BUG: Fix Xcode per-config bundle name in Info.plist
...
- 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.
2008-07-03 13:28:49 -04:00
Bill Hoffman
4bc39940c3
ENH: fix for flags that have sub-string matches
2008-06-06 11:49:06 -04:00
Bill Hoffman
d4fdbeed64
ENH: allow users to set sysroot
2008-04-28 13:53:14 -04:00
Brad King
67834f2d53
BUG: Correct Mac OS X framework behavior
...
- 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
2008-04-08 00:06:47 -04:00
Brad King
9ed4266306
ENH: Cleanup impl of PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE properties
2008-02-18 16:38:34 -05:00
Brad King
67f8c0fd10
ENH: Allow multiple OS X applications bundles to be created in a single 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).
2008-02-14 15:31:08 -05:00
Brad King
410d7b0f36
ENH: Avoid computing link information for static library targets. They do not link.
2008-02-07 16:49:11 -05:00
Brad King
ffac622a85
ENH: Add cmTarget::GetLinkInformation method to allow several places in the generators to share link information while only computing it once per configuration for a target. Use it to simplify the chrpath feature.
2008-01-29 15:07:33 -05:00
Brad King
28ea034737
ENH: Support exporting/importing of Framework targets.
...
- 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
2008-01-28 13:05:58 -05:00
Brad King
5594ad4885
ENH: Updated exporting and importing of targets to support libraries and 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
2008-01-28 08:38:36 -05:00
Brad King
96fd5909d9
ENH: Implement linking with paths to library files instead of -L and -l 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.
2008-01-22 09:13:04 -05:00
Brad King
433099ecdd
ENH: Converted cmMakefile DefineFlags added by ADD_DEFINITIONS command into a COMPILE_DEFINITIONS directory property.
2008-01-17 19:29:43 -05:00
Brad King
80c2be45e0
ENH: Renamed <CONFIG>_COMPILE_DEFINITIONS to COMPILE_DEFINITIONS_<CONFIG> for better documentation clarity.
2008-01-15 21:02:00 -05:00
Brad King
75a02152c2
COMP: Fix warning about backslash at end of c++ comment.
2008-01-14 11:07:05 -05:00
Brad King
8262ccfd4e
ENH: Create COMPILE_DEFINITIONS property for targets and source files. Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators.
2008-01-14 09:20:58 -05:00
Bill Hoffman
d92d51429e
BUG: fix for bug 6193, fix xcode depend helper
2008-01-10 15:17:23 -05:00
Brad King
8769444beb
BUG: Revert previous change until it works on all OSX versions.
2007-12-23 13:16:21 -05:00
Brad King
a7245e4792
ENH: Simplify target-level dependencies by depending only on directly linked targets instead of those chained.
2007-12-22 14:17:07 -05:00
Brad King
3cf3bb664a
ENH: Make static library targets depend on targets to which they "link" for 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.
2007-12-21 15:04:06 -05:00
Brad King
872553de7e
ENH: Implemented generation of display for pre-build, pre-link, and post-build custom command comments during the build. This addresses issue #5353 .
2007-12-18 09:50:08 -05:00
Brad King
4c87af30b2
BUG: Remove stray debugging message.
2007-12-17 19:48:13 -05:00
Ken Martin
cc6f53b61f
ENH: change to make the documentation class more generic, about halfway there, also provides secitons for Variables now
2007-10-22 13:28:49 -04:00
David Cole
8e4c7b99e1
ENH: Finish up the Framework creation code restructuring. Frameworks build and install now. More work needed on the packaging step. See Tests/Framework for example use.
2007-10-10 11:06:15 -04:00
Bill Hoffman
267fd538d8
ENH: fix build issue with config type not being specified by ctest
2007-09-17 10:40:57 -04:00
Brad King
782c5c270f
COMP: Fix shadowed local warning by scoping the previous decl properly.
2007-09-13 09:14:46 -04:00
Brad King
f2ac53bb10
ENH: Added XCODE_ATTRIBUTE_<an-attribute> property to allow direct setting 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.
2007-09-10 10:22:19 -04:00
David Cole
b867a85213
STYLE: Fix line length style errors introduced last week.
2007-08-20 11:03:16 -04:00
David Cole
fa61182de8
ENH: Improvements to the Xcode generator. Build frameworks using native Copy 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.
2007-08-14 11:45:15 -04:00
David Cole
ee91e25499
BUG: Only pay attention to the FRAMEWORK target property for SHARED library targets
2007-08-01 13:04:45 -04:00
Alexander Neundorf
43de8c8628
ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to do
...
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
2007-06-28 09:09:26 -04:00
Brad King
35936433e1
ENH: Merging changes from branch CMake-SourceFile2-b between tags
...
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.
2007-06-18 11:59:23 -04:00
Brad King
fac5d4845a
BUG: Finished previous fix.
2007-05-28 17:49:03 -04:00
Brad King
b4fb25941a
COMP: Fixed shadowed local warning.
2007-05-28 13:46:10 -04:00
Brad King
60f02a27db
ENH: Remove unused build rules from Xcode. This change was made in the VS generators on 2006-03-23 and should have been made for the Xcode generator too. Also commented out some debug print statements.
2007-05-28 11:16:50 -04:00
Brad King
14d50b086f
COMP: Fix build of XCode generator after change to GetSourceFiles signature.
2007-05-28 11:02:45 -04:00
Bill Hoffman
d0f12061c3
ENH: add copy header stuff
2007-05-24 17:06:32 -04:00
Brad King
ea44d68cb6
BUG: Need to use GetRealDependency for custom command file-level dependencies.
2007-05-23 17:21:08 -04:00
Brad King
ba7780a3c4
ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create 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.
2007-05-23 15:40:12 -04:00
Alexander Neundorf
4878c00905
ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates an
...
"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
2007-05-22 10:24:59 -04:00
Alexander Neundorf
e4b5de6377
STYLE: fix line lengths
...
Alex
2007-05-14 11:23:37 -04:00
Brad King
6c421971b9
BUG: Fixed generation of XCODE_DEPEND_HELPER.make into proper directory. Cleaned up duplicate code created by recent changes.
2007-05-11 13:52:33 -04:00
Alexander Neundorf
362f81981e
STYLE: fix line length
...
Alex
2007-05-10 11:38:23 -04:00
Bill Hoffman
8c39efe854
ENH: make sure escaping is done for strings on the command line
2007-05-10 11:16:06 -04:00
Bill Hoffman
3e3413dadc
ENH: fix for move of trace depends
2007-05-10 10:05:36 -04:00
Andy Cedilnik
181f4cb0af
ENH: fix for older xcode and framework create
2007-05-09 10:28:32 -04:00
Alexander Neundorf
7f11536704
ENH: now target names can be used in add_custom_command() and
...
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
2007-05-09 08:25:45 -04:00
Bill Hoffman
5af3105021
ENH: getting closer
2007-05-08 16:37:18 -04:00
Bill Hoffman
2ed6191fce
ENH: add initial xcode framework stuff
2007-05-08 15:49:54 -04:00
Bill Hoffman
5ed2141d12
ENH: make sure default /System framework is not added with -F
2007-03-30 10:53:02 -04:00
Brad King
0e15f3412f
COMP: Restored shared local variable removed by previous change.
2007-03-27 23:15:59 -04:00
Brad King
af95f61d76
ENH: Created method cmTarget::GetExportMacro to centralize computation of the export symbol name. This removes duplicate code from all the generators. Also enabled the export definition for executable targets with the ENABLE_EXPORTS property set.
2007-03-27 23:13:25 -04:00
Ken Martin
c53b26baf2
ENH: some more cleanup
2007-03-13 15:18:27 -04:00
Ken Martin
55603ea9eb
COMP: XCode fix
2007-03-12 11:32:10 -04:00
Brad King
789a0f8359
ENH: Removed unused variables LibraryOutputPath and ExecutableOutputPath. Each target is asked for its own output directory. This is a step towards bug#2240.
2007-03-08 15:24:01 -05:00
Brad King
073076e0f7
COMP: Fix ConvertToRelativePath change for Xcode generator.
2007-03-07 16:32:29 -05:00
Bill Hoffman
7a13c7affe
BUG: fix for quotes in strings for flags #4022
2007-02-21 14:01:19 -05:00
Bill Hoffman
d5cb0f48b7
ENH: fix source extensions fror txt on xcode
2007-02-20 13:52:29 -05:00
Bill Hoffman
d712e40d36
ENH: fix for force language stuff
2007-02-20 11:14:41 -05:00
Bill Hoffman
797a7f50a2
ENH: use project not target name
2007-02-19 15:07:31 -05:00
Bill Hoffman
63e2a9dffa
ENH: fix for external object test
2007-02-17 11:43:47 -05:00
Bill Hoffman
66523061d0
ENH: remove warnings and debug statement
2007-02-17 08:38:41 -05:00
Bill Hoffman
ca0230a33e
ENH: check in initial conv library stuff
2007-02-16 16:12:17 -05:00
Bill Hoffman
5330a03994
ENH: allow for -gdwarf-2 to be in cflags or cxxflags for xcode
2006-10-13 11:53:12 -04:00
Bill Hoffman
052cb7753b
ENH: undo bad changes
2006-10-12 17:19:57 -04:00
Bill Hoffman
107e01c8dc
ENH: fix for bug -gdwarf getting removed
2006-10-12 10:57:36 -04:00
Brad King
c0326d0d54
ENH: Simplify code by removing redundant check against BUILD_WITH_INSTALL_RPATH.
2006-10-11 12:41:17 -04:00
Bill Hoffman
21f3a18bee
ENH: fix failing tests on mac
2006-09-29 16:14:34 -04:00
Brad King
7d2de52c1a
ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed.
2006-09-28 13:55:26 -04:00
Brad King
dd332a00cc
ENH: Re-implemented command line argument shell quoting to support several platforms with one code base.
2006-09-27 13:43:46 -04:00
Brad King
b9fc06735d
BUG: Enabled use of EscapeForShell to properly escape custom command lines. This addresses bug#3786 for Xcode.
2006-09-21 16:10:47 -04:00
Bill Hoffman
78275f1d4b
ENH: do not use OBJROOT or you can get two copies of executables
2006-08-14 17:02:34 -04:00
Brad King
d3e8ef705e
BUG: Set GCC_SYMBOLS_PRIVATE_EXTERN and GCC_INLINES_ARE_PRIVATE_EXTERN attributes on all projects to prevent -fvisibility=hidden flags. This is needed to make RTTI work by default.
2006-07-27 15:02:35 -04:00
Bill Hoffman
1fa5f76e40
BUG: fix for bug 3417
2006-06-16 14:02:03 -04:00
Ken Martin
8e9a6beccc
ENH: centralized locaiton of CMakeFiles setting
2006-06-14 12:28:32 -04:00
Brad King
87d4d0e039
BUG: cmGlobalGenerator::Build should not always use the /fast target name because dependency checking is often required. It now takes an argument specifying whether to use the /fast target name, and the argument is currently only true for try-compiles.
2006-06-01 15:51:24 -04:00
Bill Hoffman
43fd40fe21
ENH: fix warning
2006-05-16 13:23:22 -04:00
Bill Hoffman
0883dee7f0
ENH: fix rebuild problem with xcode and universal binaries
2006-05-16 09:54:49 -04:00
Ken Martin
80f71359c1
STYLE: fix line length
2006-05-11 15:39:46 -04:00
Ken Martin
bf0cb4d49a
STYLE: fix line length
2006-05-11 11:47:03 -04:00
Brad King
d5719f22c1
ENH: Added support for multiple outputs generated by a single custom 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.
2006-04-11 11:06:19 -04:00
Bill Hoffman
e4f3568099
ENH: fix so all configurations show up
2006-04-10 11:39:32 -04:00
Bill Hoffman
71505ff2d2
ENH: fix spaces in path for xcode
2006-04-03 17:54:37 -04:00
Bill Hoffman
ae10b3578d
ENH: add a wrapper for xcodebuild to get around bug and verbose output
2006-03-31 13:17:23 -05:00
Andy Cedilnik
c2da475507
ENH: Use PBXResourcesBuildPhase for resrources
2006-03-29 16:34:52 -05:00
Andy Cedilnik
5076590a02
ENH: Simplify. Instead of doing ../MacOS just copy to current directory
2006-03-29 16:25:24 -05:00
Andy Cedilnik
32ec28ad00
ENH: Add copy stages for bundle files
2006-03-29 15:02:35 -05:00
Bill Hoffman
f7c1723135
ENH: add support for universal binaries
2006-03-24 09:15:05 -05:00
Bill Hoffman
5208004560
ENH: fix up this changes for mac
2006-03-15 12:02:34 -05:00
Ken Martin
da279f0041
BUG: some UNIX fixes for my m_ commit
2006-03-15 11:38:47 -05:00
Ken Martin
3d96e52261
STYLE: some m_ to this-> cleanup
2006-03-15 11:02:08 -05:00
Brad King
93c95f1cc5
BUG: Fixed installation of MacOSX Bundle executables and the corresponding 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.
2006-03-03 12:58:48 -05:00
Andy Cedilnik
07260a6f27
ENH: Cleanup global targets even more and potentially fix Xcode
2006-03-01 08:28:39 -05:00
Andy Cedilnik
c4156b4531
COMP: Even more global target fixes
2006-02-24 17:35:35 -05:00
Brad King
586a9427d3
ENH: Created target property INSTALL_NAME_DIR initalized by CMAKE_INSTALL_NAME_DIR specifying the directory portion of the OSX install_name field in shared libraries. This is the OSX equivalent of RPATH.
2006-02-24 13:13:14 -05:00
Brad King
576f0b65c7
BUG: Fix generation of Xcode 2.0 and earlier projects to use CMAKE_BUILD_TYPE.
2006-02-24 11:13:31 -05:00
Brad King
f437c8e888
BUG: Treat GLOBAL_TARGET like UTILITY for generation.
2006-02-24 11:07:04 -05:00
Brad King
3fa4a95f56
BUG: Xcode generator should use local generator computation of include directories.
2006-02-20 09:54:25 -05:00
Brad King
c21287552b
ENH: Switched order of slash and configuration name in cmGlobalGenerator::AppendDirectoryForConfig method to increase flexibility.
2006-02-19 19:28:53 -05:00
Bill Hoffman
55dd61946b
ENH: working directory working for XCode
2006-02-08 14:12:34 -05:00
Bill Hoffman
347c5f4b46
ENH: add working directory support
2006-02-08 10:58:36 -05:00
Brad King
afa8367885
BUG: Fixed cmTarget::GetFullPath to not append the configuration name when only one configuration is built. It now asks the generator what subdirectory if any to use for a given configuration name.
2006-02-03 11:36:11 -05:00
Bill Hoffman
07ef88c985
ENH: add COMPILE_FLAGS to targets
2006-01-25 08:38:06 -05:00
Brad King
8f1413e247
COMP: Fixed shadowed variable warning.
2006-01-14 10:27:04 -05:00
Brad King
22c62c9e65
BUG: Sweeping changes to cleanup computation of target names. This should
...
fix many bugs related to target names being computed inconsistently.
- Centralized computation of a target's file name to a method in
cmTarget. Now that global knowledge is always available the
*_CMAKE_PATH cache variables are no longer needed.
- Centralized computation of link library command lines and link
directory search order.
- Moved computation of link directories needed to link CMake targets
to be after evaluation of linking dependencies.
This also removed alot of duplicate code in which each version had its
own bugs.
This commit is surrounded by the tags
CMake-TargetNameCentralization1-pre
and
CMake-TargetNameCentralization1-post
so make the large set of changes easy to identify.
2006-01-13 18:18:32 -05:00
Bill Hoffman
0edceb3884
ENH: fix missing plist file error
2006-01-06 13:54:27 -05:00
Bill Hoffman
7b1440ab9f
ENH: fix bundles for Mac and Xcode
2006-01-05 09:13:06 -05:00
Andy Cedilnik
2804a0d7db
COMP: Remove shadow variable warning
2005-12-30 13:22:10 -05:00
Bill Hoffman
82bb6fae0d
ENH: add framework support to FIND_FILE
2005-12-27 14:56:56 -05:00
Bill Hoffman
452925649a
ENH: add better support for framework linking
2005-12-26 13:14:19 -05:00
Bill Hoffman
391d3ed631
ENH: make sure depend helper actually works, if a depend library gets updated, then the target needs to be removed, and the CONFIGURATION directory needs to be used
2005-12-21 15:45:55 -05:00
Bill Hoffman
5261f51e45
BUG: fix for bug 2560, Xcode does not create correct bundles
2005-12-19 11:29:57 -05:00
Andy Cedilnik
782bef7374
ENH: Add a way for the generated command to include extra flags. This is useful for CTest (or try compile) to add -j2
2005-12-01 11:41:00 -05:00
Bill Hoffman
47622dde01
ENH: fixes for Xcode 2.2
2005-11-18 14:12:09 -05:00
Bill Hoffman
8b7091a0a6
ENH: fixes for xcode21 and build styles and comments in the generated project
2005-11-16 13:13:39 -05:00
Andy Cedilnik
93ee345b41
BUG: fix xcode 15 (really bill Hoffman)
2005-09-08 14:35:37 -04:00
Bill Hoffman
4bc584419e
ENH: fix warnings
2005-09-05 09:17:59 -04:00
Bill Hoffman
6b4c142c7d
ENH: add real support for Xcode21
2005-09-02 16:29:32 -04:00
Bill Hoffman
62ae06081e
ENH: use native Deployment and Development directories
2005-08-30 13:58:46 -04:00
Bill Hoffman
c69c9e0134
ENH: add support for OUTPUT_NAME
2005-08-19 17:17:13 -04:00
Bill Hoffman
e59e9d0e59
ENH: fix bug 2087 lib prefix stripped off on windows
2005-08-10 12:55:41 -04:00
Andy Cedilnik
d9371295fe
ENH: get around problem where OBJROOT has been set by default for all projects in Xcode gui
2005-08-02 13:01:35 -04:00
Andy Cedilnik
df26171533
ENH: undo last change
2005-07-29 10:04:01 -04:00
Andy Cedilnik
f179fb59bf
ENH: support versions greater than 20
2005-07-29 10:02:52 -04:00
Ken Martin
c6b011e35e
ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree
2005-07-29 09:19:25 -04:00
Andy Cedilnik
47e22fe041
ENH: make sure c flags are used for c and cxx flags are used for cxx, really Bill
2005-07-28 14:52:16 -04:00
Andy Cedilnik
fac61306a2
ENH: make sure custom commands depend on full path files only: Bill as Andy
2005-07-28 13:12:07 -04:00
Bill Hoffman
21d6980897
ENH: fix warning
2005-07-20 22:23:14 -04:00
Bill Hoffman
8ca558db9b
ENH: make it so that bootstrap does not use xml parser
2005-07-19 18:05:18 -04:00
Bill Hoffman
a13713818c
ENH: if Xcode21 is installed then create 21 compatible project files
2005-07-19 16:40:44 -04:00
Bill Hoffman
472c00e3a4
ENH: add support for bundles
2005-07-13 16:23:32 -04:00
Ken Martin
708828dc37
ENH: removed old convert calls
2005-06-10 08:41:47 -04:00
Andy Cedilnik
ee2554040b
COMP: Remove warning
2005-04-30 15:36:01 -04:00
Andy Cedilnik
61d0a75d11
ENH: Add option to ignore errors. Only works on make
2005-04-29 11:49:18 -04:00
Andy Cedilnik
cf5c2b7ae8
COMP: Remove warning
2005-04-29 10:07:49 -04:00
Bill Hoffman
2f50e43032
ENH: make install depend on all
2005-04-29 10:06:55 -04:00
Andy Cedilnik
064ca3834b
ENH: Start working on command that will abstract generating of build command
2005-04-28 18:34:58 -04:00
Bill Hoffman
f50e904faf
ENH: fix install test with xcode, the xcode generator does not support library versioning yet
2005-04-07 16:09:13 -04:00
Bill Hoffman
69da19a6a7
ENH: allow sub projects to use targets that are not part of the sub-project
2005-04-06 10:59:25 -04:00
Bill Hoffman
047047924d
BUG: fix ITK build with xcode, as long as you build it in little parts, this fixes the headermap problem
2005-03-31 11:57:26 -05:00
Bill Hoffman
987c7a094f
ENH: try to handle more source file types
2005-03-22 14:00:57 -05:00
Andy Cedilnik
89b31c4f81
ENH: just use the file name
2005-03-22 13:32:42 -05:00
Andy Cedilnik
6baf2119ca
ENH: use better names for files
2005-03-22 10:29:34 -05:00
Bill Hoffman
1568f73825
ENH: add source groups xcode
2005-03-17 15:35:44 -05:00
Andy Cedilnik
95d6107da2
FIX: fix crashing test SubDir for xcode
2005-03-11 10:53:45 -05:00
Bill Hoffman
a9a0c91630
ENH: fix for finding the correct target in the current project
2005-03-03 22:35:06 -05:00
Andy Cedilnik
717927d6d2
FIX: fix spaces in paths
2005-03-01 11:25:23 -05:00
Bill Hoffman
a65da51919
fix typeo
2005-02-28 15:30:40 -05:00
Bill Hoffman
b7ef8149e8
ENH: add re run cmake if inputs change
2005-02-28 15:07:13 -05:00
Bill Hoffman
80c9a67845
COMP: remove some warnings
2005-02-26 16:58:19 -05:00
Bill Hoffman
8d59e58b6a
COMP: fix warning
2005-02-25 20:46:33 -05:00
Bill Hoffman
c4ca049e3f
ENH: clean up and use order link directories
2005-02-25 17:45:12 -05:00
Bill Hoffman
381777f866
ENH: make sure header files are in the header file group
2005-02-25 14:20:20 -05:00
Bill Hoffman
d680e51777
ENH: fix relative paths in xcode
2005-02-24 17:46:49 -05:00
Andy Cedilnik
8b54b7a683
ENH: fix spaces in paths problems
2005-02-24 15:34:14 -05:00
Andy Cedilnik
7b9f3389c3
ENH: remove output path stuff
2005-02-23 20:41:03 -05:00
Bill Hoffman
e5637ef7d8
FIX: fix to make this work with new custom command stuff
2005-02-23 13:50:52 -05:00
Brad King
39af9ee1e4
ENH: Updated implementation of custom commands. Multiple command lines are now supported effectively allowing entire scripts to be written. Also removed extra variable expansions and cleaned up passing of commands through to the generators. The command and individual arguments are now kept separate all the way until the generator writes them out. This cleans up alot of escaping issues.
2005-02-22 10:32:44 -05:00
Ken Martin
4d30cb309c
ENH: ctest now uses CMake global generator to do the build part of build-and-test
2005-02-22 09:12:10 -05:00
Andy Cedilnik
c116bf5f84
ENH: fix for spaces in the path
2005-02-18 15:45:19 -05:00
Bill Hoffman
c60cf6585d
COMP: remove warning
2005-02-18 14:32:55 -05:00
Bill Hoffman
785b0dc012
ENH: all tests are passing for XCode
2005-02-18 13:32:51 -05:00
Bill Hoffman
e930043477
ENH: more tests are passing, relative paths, and external objects are the ones left now
2005-02-17 17:54:14 -05:00
Bill Hoffman
b0a0ccb083
ENH: add CMAKE_CFG_INTDIR
2005-02-16 19:13:20 -05:00
Bill Hoffman
6bf064d41c
ENH: use ALL_BUILD target
2005-02-16 18:47:30 -05:00
Bill Hoffman
cb73410ccb
ENH: more tests are passing
2005-02-16 16:35:32 -05:00
Bill Hoffman
f508fc9839
ENH: add custom commands, still failing a bunch of tests
2005-02-15 17:25:40 -05:00
Bill Hoffman
34e7e36cae
ENH: getting closer
2005-02-14 16:46:32 -05:00
Bill Hoffman
ef5db04e24
more work on linking flags
2005-02-11 14:25:05 -05:00
Bill Hoffman
f6f765e86f
ENH: add link library stuff
2005-02-08 17:12:38 -05:00
Bill Hoffman
0bc51d181d
ENH: fix bug in target linking
2005-02-07 17:36:34 -05:00
Bill Hoffman
8659d1206b
ENH: this version can build cmake
2005-02-04 17:58:58 -05:00
Bill Hoffman
00091e1b84
COMP: remove warnings
2005-02-03 19:32:23 -05:00
Bill Hoffman
fd0f29e6f4
ENH: depends work between targets
2005-02-03 17:42:55 -05:00
Bill Hoffman
68c419c780
ENH: getting closer
2005-02-02 17:16:07 -05:00
Bill Hoffman
f403811a0c
ENH: closer
2005-02-01 17:17:12 -05:00
Bill Hoffman
7baa78034e
ENH: getting closer
2005-02-01 15:48:33 -05:00
Bill Hoffman
3bb54c00d5
COMP: fix warning
2005-02-01 14:28:46 -05:00
Bill Hoffman
b08e6ecb38
ENH: add trycompile code for xcode
2005-02-01 13:07:42 -05:00
Brad King
110ce95fc8
COMP: Added missing labels to case.
2005-01-28 18:12:56 -05:00
Bill Hoffman
2ca86b868c
ENH: move executable xcode stuff to a method
2005-01-28 17:21:35 -05:00
Bill Hoffman
bbba869cfc
ENH: use absolute paths
2005-01-28 16:26:03 -05:00
Bill Hoffman
97cd380970
ENH: create mainGroup
2005-01-28 16:00:10 -05:00