Bill Hoffman
001d7fa348
ENH: add more information to message
2008-02-18 15:42:55 -05:00
Bill Hoffman
6e63fc0a58
ENH: make sure fixup has right paths
2008-02-18 14:51:43 -05:00
Bill Hoffman
8b2dd3a281
STYLE: use lowercase
2008-02-18 13:11:34 -05:00
Bill Hoffman
0dd276a311
ENH: remove CMAKE_PREFIX so changing it does not rebuild all
2008-02-18 13:03:40 -05:00
Bill Hoffman
ef537ffec7
ENH: have cpack work with DESTDIR install and ingest qt framework libs into cmake-gui
2008-02-18 10:26:28 -05:00
Brad King
c51a45466d
STYLE: Nightly Date Stamp
2008-02-18 00:01:02 -05:00
Alexander Neundorf
95ba817b2e
BUG: actually print the docs for custom modules if this was requested
...
Alex
2008-02-17 14:04:01 -05:00
Alexander Neundorf
e13db53a9a
PERF: reduce time for full docs as HTML from 1.4 s to 0.2 s, the map is now
...
created and filled only once instead for every character
I guess a simple case-switch would be still faster.
Alex
2008-02-17 12:31:29 -05:00
Brad King
21f4cd7c8b
STYLE: Nightly Date Stamp
2008-02-17 00:01:02 -05:00
Bill Hoffman
22927ede1e
ENH: support for cpack and install of cmake-gui as mac app bundle
2008-02-16 13:05:03 -05:00
Bill Hoffman
337c1f0b72
ENH: fix DESTDIR install
2008-02-16 13:02:57 -05:00
Brad King
24b49f9258
STYLE: Nightly Date Stamp
2008-02-16 00:01:04 -05:00
Clinton Stimpson
cdb193c77a
ENH: remove unused code.
2008-02-15 15:36:16 -05:00
Bill Hoffman
a1dbf38c30
ENH: use package name on mac for edit cache
2008-02-15 12:12:48 -05:00
Brad King
342a32a2c0
BUG: Apply patch from bug #6180 to make CMAKE_ADDITIONAL_MAKE_CLEAN_FILES work for directories.
2008-02-15 11:56:13 -05:00
David Cole
ca2a16c0a2
ENH: Add code to support calling the VS reload macro from Visual Studio 7.1 and 9.0 in addition to 8.0 sp1... Make new macros file with VS 7.1 so that it can be read by 7.1 and later. VS 7.1 does not appear to run the macros while a build is in progress, but does not return any errors either, so for now, the reload macro is not called when using 7.1. If I can figure out how to get 7.1 to execute the macro, I will uncomment the code in cmGlobalVisualStudio71Generator::GetUserMacrosDirectory() to activate executing the macros in VS 7.1, too.
2008-02-15 11:49:58 -05:00
Brad King
ed76198b84
ENH: Cleanup building of OS X bundle content
...
- 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
2008-02-15 11:22:23 -05:00
Bill Hoffman
6ea4eea183
BUG: fix for bug 6294, correct url for nsis
2008-02-15 10:40:55 -05:00
Brad King
4a17f7bee8
STYLE: Nightly Date Stamp
2008-02-15 00:01:04 -05:00
Alexander Neundorf
d750625c04
ENH: enable color in the eclipse generator, there doesn't seem to be problems
...
Alex
2008-02-14 20:18:49 -05:00
Clinton Stimpson
d0d67d0015
ENH: Convert native paths from QFileDialog and QDirModel/QCompleter.
...
BUG: Block possible completion loop.
2008-02-14 19:58:31 -05:00
Clinton Stimpson
df3169273a
ENH: Add shortcut to start search/filter.
...
A bit of cleanup.
Disable tab navigation in cache variable list.
Enable home/end keys.
BUG: Ensure currently edited values are saved before doing configure.
2008-02-14 18:18:10 -05:00
Brad King
1c0595c73f
ENH: Add global property ALLOW_DUPLICATE_CUSTOM_TARGETS to help existing projects that depend on having duplicate custom targets. It is allowed only for Makefile generators. See bug#6348.
2008-02-14 16:42:29 -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
Bill Hoffman
7b1c305d86
ENH: make sure html < > & stuff is escaped for the output window
2008-02-14 15:06:05 -05:00
Brad King
b459ec9f57
ENH: Updated DEFINE_PROPERTY command to be more extendible and more consistent with new SET_PROPERTY and GET_PROPERTY signatures.
2008-02-14 13:36:23 -05:00
Brad King
5b02a4a864
ENH: Re-enable diagnosis of non-unique target names.
...
- Re-enable enforcement in cmMakefile::EnforceUniqueName
- Improve error message to help user resolve the problem
- Fix Modules/CTestTargets.cmake to not duplicate testing targets
- Move commands used by the changes to Modules/CTestTargets.cmake
to build during bootstrap: DEFINE_PROPERTY, GET_PROPERTY
2008-02-14 11:58:32 -05:00
Bill Hoffman
e4a1823f43
ENH: add a check before delete cache
2008-02-14 09:14:04 -05:00
Bill Hoffman
116f61c75c
ENH: do not show unititialized entries
2008-02-14 08:55:29 -05:00
Brad King
3db5c76198
STYLE: Nightly Date Stamp
2008-02-14 00:01:02 -05:00
Brad King
98621ecfaa
BUG: Update cmComputeLinkDepends to support leading/trailing whitespace stripping off link items for compatibility.
2008-02-13 15:29:55 -05:00
Brad King
ad95a57509
ENH: Add option to bootstrap script to enable Qt dialog.
...
- Add --qt-gui and --no-qt-gui options
- Add --qt-qmake=<qmake> option to help locate Qt
- Build more commands during bootstrap to help FindQt4.cmake:
MATH, GET_DIRECTORY_PROPERTY, EXECUTE_PROCESS,
SEPARATE_ARGUMENTS
- Bootstrapping with the cmake-gui is now possible in MSys
2008-02-13 14:47:03 -05:00
Clinton Stimpson
c327b569f0
ENH: Remove CurrentChanged from the table view's edit triggers.
...
It results in editor issues when modifying the view.
Remove workarounds for some of those issues.
2008-02-13 13:58:35 -05:00
Brad King
54a39b58d5
STYLE: Nightly Date Stamp
2008-02-13 00:01:12 -05:00
Bill Hoffman
b558f12bfa
ENH: do not expand regular vars here
2008-02-12 17:22:55 -05:00
Brad King
8175b10078
BUG: Disable enforcement of unique target names until CTestTargets can be fixed.
2008-02-12 10:19:38 -05:00
Bill Hoffman
3fa087c8ab
ENH: fix make edit_cache for cmake-gui
2008-02-12 09:49:42 -05:00
Brad King
88eca37d4e
STYLE: Fix line-too-long in cmExportLibraryDependencies.
2008-02-12 09:18:50 -05:00
Brad King
f05423339a
STYLE: Nightly Date Stamp
2008-02-12 00:01:03 -05:00
Brad King
a7e287975c
ENH: Update documentation of EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH to reference their replacements.
2008-02-11 20:13:21 -05:00
Brad King
a0715048da
COMP: Fix shadowed local variable warning.
2008-02-11 17:33:46 -05:00
Brad King
3fdf141197
BUG: FIND_LIBRARY should not require CMAKE_SIZEOF_VOID_P to be set.
2008-02-11 17:00:45 -05:00
Brad King
2e2f9b4be3
ENH: Add global computed property IN_TRY_COMPILE.
2008-02-11 17:00:36 -05:00
Brad King
ac0e58dcfb
ENH: Enforce global target name uniqueness.
...
- Error if imported target is involved in conflict
- Error for non-imported target conflict unless
CMAKE_BACKWARDS_COMPATIBILITY <= 2.4
- Include OUTPUT_NAME property in error message
- Update add_executable and add_library command documentation
2008-02-11 13:35:39 -05:00
Brad King
739a463539
ENH: Add cmMakefile::NeedBackwardsCompatibility method to pass through to cmLocalGenerator::NeedBackwardsCompatibility for convenience.
2008-02-11 13:35:30 -05:00
Brad King
968c53ff6f
BUG: Fix export_library_dependencies command to produce a file that is compatible with CMake 2.4.
2008-02-11 10:31:44 -05:00
Brad King
7b048433c1
BUG: Fix cmComputeLinkDepends::AddVarLinkEntries
...
- Track link type correctly
- Use _LINK_TYPE variables exported by CMake 2.4
2008-02-11 10:31:38 -05:00
Brad King
0cdf73f0a2
STYLE: Nightly Date Stamp
2008-02-11 00:01:02 -05:00
Alexander Neundorf
52a0538719
STYLE: document that if(COMMAND) works also for macros and functions
...
Alex
2008-02-10 17:19:10 -05:00
Brad King
fd2a6a8693
BUG: Fix recent find_library change to look for user-specified name first to do so only if the name matches a valid library extension.
2008-02-10 11:37:06 -05:00
Brad King
138d479c67
STYLE: Nightly Date Stamp
2008-02-10 00:01:03 -05:00
Bill Hoffman
f6014938cb
ENH: make it so cmake-gui only installs if qt is static on windows
2008-02-09 09:53:52 -05:00
Brad King
445f47473c
STYLE: Nightly Date Stamp
2008-02-09 00:01:03 -05:00
Clinton Stimpson
11102a377c
BUG: Make sure editor closes when deleting cache entries.
2008-02-08 13:47:08 -05:00
Clinton Stimpson
d717ad57a6
ENH: Need to pick up the PreLoad.cmake files.
2008-02-08 11:26:08 -05:00
Clinton Stimpson
45cf2ade08
COMP: Fix build with Qt 4.2.
...
BUG: Fix new editors stealing focus while typing search text.
ENH: Look for translation in data dir, not bin dir.
2008-02-08 10:42:14 -05:00
Brad King
c71f62fbff
STYLE: Nightly Date Stamp
2008-02-08 00:01:05 -05:00
Alexander Neundorf
251565785a
patch from Miguel
...
BUG: fix #5496 : eclipse can't load projects where the build dir is a subdir
of the src dir
Alex
2008-02-07 18:24:55 -05:00
Clinton Stimpson
dcd29a14b0
ENH: Show cache variable name in title of file dialogs.
2008-02-07 17:58:57 -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
Alexander Neundorf
732784c0bc
two patches from Miguel:
...
BUG: fix #5819 : put compile definitions into the eclipse project files so
eclipse handles ifdef blcoks correctly
STYLE: make the code for filtering some global targets out nicer
Alex
2008-02-07 16:26:00 -05:00
Brad King
544c263f48
COMP: Add missing assert include.
2008-02-07 16:24:54 -05:00
Alexander Neundorf
d4ffc0d3b9
STYLE: add some comments
...
Alex
2008-02-07 16:22:00 -05:00
Brad King
4987e17f46
ENH: Improve link line generation for static library cycles.
...
- Move Tarjan algorithm from cmComputeTargetDepends
into its own class cmComputeComponentGraph
- Use cmComputeComponentGraph to identify the component DAG
of link dependencies in cmComputeLinkDepends
- Emit non-trivial component members more than once but always
in a contiguous group on the link line
2008-02-07 16:14:05 -05:00
Bill Hoffman
0bfad2946d
ENH: make sure files are binary for download and make status a pair of value string
2008-02-07 13:26:16 -05:00
Bill Hoffman
9afb2100c1
ENH: for windows only allow a static qt for install and NSIS of cmake-gui
2008-02-07 11:43:20 -05:00
Brad King
aee3f7b54a
STYLE: Nightly Date Stamp
2008-02-07 00:01:02 -05:00
Brad King
96c55629c5
BUG: Fix cmComputeLinkInformation to include the target's user link directories in the runtime path computation. This bug was introduced when cmOrderRuntimeDirectories was introduced.
2008-02-06 20:14:55 -05:00
Brad King
d9b9720167
ENH: Make find_library test for the library file as named before trying prefixes and suffixes. This will allow users to explicitly search for static libraries on unix. See bug #1643 .
2008-02-06 15:26:22 -05:00
Brad King
a5074872b0
STYLE: Improve documentation of target_link_libraries command to make target-level dependency explicit. See bug #6043 .
2008-02-06 15:23:36 -05:00
Clinton Stimpson
2f327a13a3
ENH: Update some strings to match program name.
2008-02-06 15:10:32 -05:00
Clinton Stimpson
0cb622a28b
BUG: On Mac OS X, give the CMake library the correct path to the cmake
...
exectuables. Fixes #6286 .
2008-02-06 14:45:32 -05:00
Brad King
9e64d5b272
ENH: Improve exporting/importing of targets
...
- Use real name instead of link for location of versioned targets
- Error when a target is exported multiple times
2008-02-06 14:20:36 -05:00
Brad King
afad124313
BUG: Make sure linking to a shared lib on windows uses import library and not the new realname.
2008-02-06 14:19:03 -05:00
Brad King
31a6670e43
BUG: Do not create versioned executable names on Xcode where they are not supported.
2008-02-06 14:06:50 -05:00
Brad King
07be6bb87b
ENH: When linking to versioned targets whose real file name is known pass the real name to the linker instead of the symlink name.
2008-02-06 13:34:44 -05:00
Bill Hoffman
a752fc5e85
ENH: remove debug print stuff
2008-02-06 09:46:58 -05:00
Bill Hoffman
7dfcc3fc12
ENH: add DOWNLOAD option to FILE command
2008-02-06 09:35:02 -05:00
Bill Hoffman
0c3607eafc
ENH: change name of qt-dialog
2008-02-06 09:17:03 -05:00
Brad King
4664b3aedf
STYLE: Nightly Date Stamp
2008-02-06 00:01:04 -05:00
Brad King
523ddedac5
ENH: Analyze inter-target dependencies to safely fix cycles
...
- Cycles may be formed among static libraries
- Native build system should not have cycles in target deps
- Create cmComputeTargetDepends to analyze dependencies
- Identify conneced components and use them to fix deps
- Diagnose cycles containing non-STATIC targets
- Add debug mode property GLOBAL_DEPENDS_DEBUG_MODE
- Use results in cmGlobalGenerator as target direct depends
2008-02-05 23:10:41 -05:00
Brad King
5b9fccdc0e
STYLE: Nightly Date Stamp
2008-02-05 00:01:02 -05:00
Brad King
efec4f1cd6
COMP: Add missing include for assert.
2008-02-04 19:00:33 -05:00
Brad King
8401c5ba06
ENH: Allow separate installation of shared libs and their links.
...
- Add NAMELINK_ONLY and NAMELINK_SKIP to INSTALL command
- Options select a \"namelink\" mode
- cmInstallTargetGenerator selects files/link based on mode
- See bug #4419
2008-02-04 17:03:48 -05:00
Bill Hoffman
852f6018bb
ENH: make sure ALL_BUILD only shows up once
2008-02-04 16:05:00 -05:00
Brad King
847c8403fe
BUG: Added TARGET_ARCHIVES_MAY_BE_SHARED_LIBS global property to help compute proper rpath information on AIX when shared libraries have names like "libfoo.a".
2008-02-04 15:22:10 -05:00
Brad King
e67dc68a3b
STYLE: Nightly Date Stamp
2008-02-04 00:01:03 -05:00
Brad King
dc06ac5881
COMP: Avoid warning in kwsys IOStream.cxx when the helper functions are not needed. Define one public symbol to avoid complaints from archivers about empty object files.
2008-02-03 08:58:10 -05:00
Brad King
62145a5811
BUG: cmCTest::GetConfigType should return the string by reference-to-const so that callers may use .c_str() safely.
2008-02-03 08:57:41 -05:00
Brad King
6b8bb7d7fa
COMP: Fix warning in SystemInformation.cxx about possibly incorrect assignment in if condition.
2008-02-03 08:20:11 -05:00
Brad King
8280232d0d
COMP: Fix unreachable code warning. Remove runtime test of constant information.
2008-02-03 08:14:38 -05:00
Brad King
b38bc43894
COMP: Remove inline keyword from forward declaration for VS9.
2008-02-03 08:07:17 -05:00
Brad King
607e05ff1a
STYLE: Nightly Date Stamp
2008-02-03 00:01:02 -05:00
Bill Hoffman
e3b0d3927a
ENH: fix infinite loop from size_t change
2008-02-02 16:18:35 -05:00
Brad King
dce9f2dad7
STYLE: Nightly Date Stamp
2008-02-02 00:01:05 -05:00
Ken Martin
22835a71cd
ENH: really Bill, using Ken's checkout, fix output in ctest so clean output in build and test is not lost, also display the command lines used
2008-02-01 16:05:40 -05:00
Brad King
0dac20cd20
BUG: Fixed typo resulting in confusing error message from cmExportInstallFileGenerator.
2008-02-01 14:35:14 -05:00
Brad King
16186ec18c
BUG: Remove InstallNameFixupPath from cmTarget and cmInstallTargetGenerator.
...
- Motivation:
- It depended on the order of installation
- It supported only a single destination for each target
- It created directory portions of an install name without user request
- Updated ExportImport test to install targets in an order that expoed
this bug
2008-02-01 13:08:12 -05:00
Bill Hoffman
15741325e0
ENH: fix warnings
2008-02-01 12:35:50 -05:00
Clinton Stimpson
f1b334ca7a
ENH: Show version number in window title.
2008-02-01 11:48:00 -05:00
Bill Hoffman
2564097e8c
ENH: fix more warnings
2008-02-01 11:40:55 -05:00
Bill Hoffman
5343910cba
ENH: fix more warnings
2008-02-01 11:36:06 -05:00
Bill Hoffman
889d900ef2
ENH: fix more warnings
2008-02-01 11:34:42 -05:00
Bill Hoffman
f6826df4f3
ENH: fix more warnings
2008-02-01 11:33:14 -05:00
Bill Hoffman
9b55f81522
ENH: fix some warnings and 64 bit build windows
2008-02-01 11:30:08 -05:00
Bill Hoffman
32409bb8e3
ENH: fix win64 build and a warning
2008-02-01 11:09:39 -05:00
Clinton Stimpson
41ad9d20df
ENH: Use translation file if it exists for the locale.
...
Consolidate some strings.
More responsive interrupting. Prompt user if they try to close during
configure, and allow them to close.
2008-02-01 10:41:29 -05:00
Brad King
82fcaebe28
ENH: Pass dependent library search path to linker on some platforms.
...
- Move runtime path ordering out of cmComputeLinkInformation
into its own class cmOrderRuntimeDirectories.
- Create an instance of cmOrderRuntimeDirectories for runtime
path ordering and another instance for dependent library
path ordering.
- Replace CMAKE_DEPENDENT_SHARED_LIBRARY_MODE with explicit
CMAKE_LINK_DEPENDENT_LIBRARY_FILES boolean.
- Create CMAKE_LINK_DEPENDENT_LIBRARY_DIRS boolean.
- Create variables to specify -rpath-link flags:
CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG
CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG
- Enable -rpath-link flag on Linux and QNX.
- Documentation and error message updates
2008-02-01 08:56:00 -05:00
Brad King
f28f1585f6
COMP: Fix shadowed local warning.
2008-02-01 08:55:41 -05:00
Brad King
6223f3f763
STYLE: Nightly Date Stamp
2008-02-01 00:01:03 -05:00
Bill Hoffman
cc7c89ca51
ENH: try to fix hp and vs 6, again...
2008-01-31 21:33:32 -05:00
Bill Hoffman
5a36673807
STYLE: line length
2008-01-31 16:38:45 -05:00
Bill Hoffman
294dca62ee
ENH: fixes for borland
2008-01-31 16:37:52 -05:00
Ken Martin
70e9412dc7
BUG: minor fix for ctest
2008-01-31 16:33:07 -05:00
Bill Hoffman
dc0f41c298
ENH: remove extra junk
2008-01-31 16:10:32 -05:00
Brad King
2cff26fa52
ENH: Support linking to shared libs with dependent libs
...
- Split IMPORTED_LINK_LIBRARIES into two parts:
IMPORTED_LINK_INTERFACE_LIBRARIES
IMPORTED_LINK_DEPENDENT_LIBRARIES
- Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior
- Set mode to LINK for Darwin (fixes universal binary problem)
- Update ExportImport test to account for changes
2008-01-31 15:45:31 -05:00
Bill Hoffman
52e75800b4
ENH: fix for qnx, I hope, and fix indent stuff
2008-01-31 15:34:09 -05:00
Bill Hoffman
99ebc1e728
ENH: fix build errors with asm stuff on mingw and hopefully win64
2008-01-31 15:10:19 -05:00
Bill Hoffman
414b89b903
ENH: fix build for mingw
2008-01-31 14:50:08 -05:00
Bill Hoffman
b270a4ee7b
ENH: split into implementation and interface class to clean up namespace issues with #define stuff
2008-01-31 14:34:11 -05:00
Brad King
82d8264b9f
BUG: Need to install cstddef header.
2008-01-31 12:56:18 -05:00
Bill Hoffman
48b554dee8
ENH: remove a const cast
2008-01-31 12:19:00 -05:00
Ken Martin
21852384e0
ENH: read in old file formats Dart as well
2008-01-31 11:43:44 -05:00
Brad King
065f23ba38
STYLE: Work-around std:: check since this is a platform test.
2008-01-31 08:32:08 -05:00
Brad King
e3c2c1923a
STYLE: Remove references to std:: inside KWSys, even in comments. This will allow a commit check to be added.
2008-01-31 08:21:35 -05:00
Brad King
d81875fb87
COMP: Replace kwsys_stl:: with kwsys_ios:: for streams access.
2008-01-31 08:21:27 -05:00
Brad King
afd7d4ca4c
ENH: Add target property LINK_SEARCH_END_STATIC to help people building static binaries on some platforms.
2008-01-31 08:05:34 -05:00
Brad King
3a05425309
BUG: Move decision to switch library paths found in implicit link directories to use -l options from cmFindLibraryCommand to cmComputeLinkInformation. Existing projects may depend on find_library returning a full path. This slightly weakens cmComputeLinkInformation but is necessary for compatibility.
2008-01-31 07:50:40 -05:00
Brad King
73a5f0846f
COMP: Remove unused parameter.
2008-01-31 06:51:43 -05:00
Brad King
3edc8e83ef
STYLE: Nightly Date Stamp
2008-01-31 00:01:05 -05:00
Bill Hoffman
6903d2df8b
ENH: remove const
2008-01-30 22:56:34 -05:00
Bill Hoffman
2a6e918c1f
COMP: use kwsys_stl and not std::
2008-01-30 21:40:43 -05:00
Brad King
0ac845b7da
BUG: Fixed previous commit in cmExportFileGenerator to separate libraries correctly in the import link list.
2008-01-30 17:57:54 -05:00
Brad King
7902bc06aa
ENH: Implemented link-interface specification feature.
...
- Shared libs and executables with exports may now have
explicit transitive link dependencies specified
- Created LINK_INTERFACE_LIBRARIES and related properties
- Exported targets get the interface libraries as their
IMPORTED_LINK_LIBRARIES property.
- The export() and install(EXPORT) commands now give
an error when a linked target is not included since
the user can change the interface libraries instead
of adding the target.
2008-01-30 17:25:52 -05:00
Bill Hoffman
22be36f8d5
ENH: make sure global targets are in the right projects
2008-01-30 16:22:51 -05:00
Bill Hoffman
2d0e838339
ENH: fix for vs 70
2008-01-30 12:55:59 -05:00
Brad King
ed5661821c
BUG: cmComputeLinkDepends should not follow the dependencies of executables.
2008-01-30 12:15:17 -05:00
Bill Hoffman
8a83f09637
ENH: fix for bug 3218 dependant projects are written out automatically if they are in the project. Also fix bug 5829, remove hard coded CMAKE_CONFIGURATION_TYPES from vs 7 generator
2008-01-30 12:04:38 -05:00
Bill Hoffman
21e6791789
ENH: remove warnings
2008-01-30 11:54:55 -05:00
Brad King
e9503a174e
ENH: Make add_custom_command interpret relative OUTPUT locations with respect to the build tre instead of the source tree. This can greatly simplify user code since generating a file will not need to reference CMAKE_CURRENT_BINARY_DIR. The new behavior is what users expect 99% of the time.
2008-01-30 11:22:10 -05:00
Brad King
d5db5a275a
BUG: Add cmSourceFile::GetPropertyForUser to centralize the LOCATION property hack. This fixes the LOCATION property when retrieved via the get_property command.
2008-01-30 11:21:54 -05:00
Bill Hoffman
c4093afc52
ENH: enhancements for cdash, include system information and better time entries
2008-01-30 11:17:36 -05:00
Brad King
45d0dd1344
BUG: Fix misuse of stl vector that caused definitions to be dropped by cmMakefile::PushScope.
2008-01-30 08:37:38 -05:00
Brad King
d2f901bebf
COMP: Fix warnings on VS9.
2008-01-30 07:44:24 -05:00
Brad King
bd822c734b
STYLE: Nightly Date Stamp
2008-01-30 00:01:04 -05:00
Brad King
52b3f85642
ENH: Enable use of link script whenever incremental archive construction rules are available. Enable use of archive construction rules on MSYS.
2008-01-29 21:16:49 -05:00
Brad King
66e0b4212f
ENH: Added build rule variables CMAKE_<LANG>_ARCHIVE_CREATE, CMAKE_<LANG>_ARCHIVE_APPEND, and CMAKE_<LANG>_ARCHIVE_FINISH to support creation of static archive libraries out of a large number of objects. See bug #6284 .
2008-01-29 20:46:25 -05:00
Brad King
44cf465ff5
BUG: Fix uninitialzed members of cmCacheManager.
2008-01-29 17:30:48 -05:00
Brad King
6066e92ba2
BUG: cmTarget instances should not be copied. Removed pass-by-value arguments from cmLocalVisualStudio7Generator::WriteGroup and cmLocalVisualStudio6Generator::WriteGroup. Updated cmTarget to make this easier to find.
2008-01-29 17:30:34 -05:00
Clinton Stimpson
f9114a0510
ENH: Correctly format multi-line error messages.
2008-01-29 15:54:49 -05:00
Brad King
319c4c4d80
ENH: Update cmInstallTargetGenerator to get the shared libraries linked by a target from cmComputeLinkInformation instead of duplicating the computation.
2008-01-29 15:47:18 -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
3406e1ef2c
ENH: Added not to find_package documentation about unspecified choice among multiple versions.
2008-01-29 09:57:39 -05:00
Brad King
a099551882
STYLE: Nightly Date Stamp
2008-01-29 00:01:03 -05:00
Brad King
41c2895b75
ENH: Added version support to Config mode of find_package command.
...
- Added EXACT option to request an exact version.
- Enforce version using check provided by package.
- Updated FindPackageTest to test versioning in config mode.
2008-01-28 20:38:48 -05:00
Brad King
e75932b61f
STYLE: Updated TODO comment for PUBLIC_HEADER_LOCATION export.
2008-01-28 15:22:07 -05:00
Brad King
64b6c0b950
ENH: Document PRIVATE_HEADER, PUBLIC_HEADER, and RESOURCE target properties and corresponding arguments to INSTALL(TARGETS).
2008-01-28 15:12:12 -05:00
Brad King
e3b1bdb058
ENH: Support exporting/importing of AppBundle targets.
...
- Imported bundles have the MACOSX_BUNDLE property set
- Added cmTarget::IsAppBundleOnApple method to simplify checks
- Document BUNDLE keyword in INSTALL command
- Updated IMPORTED_LOCATION property documentation for bundles
- Updated ExportImport test to test bundles
2008-01-28 14:46:16 -05:00
Brad King
437043bb04
BUG: Fix export/import file generation to not store link dependencies of executables or modules.
2008-01-28 13:37:59 -05:00
Brad King
6388ebceb1
ENH: Restored APPEND option to EXPORT() command in new implementation.
2008-01-28 13:21:42 -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
3d94b3b717
COMP: Add virtual destructor to cmExportFileGenerator to avoid warnings about other virtual functions.
2008-01-28 09:53:21 -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
a7cb9d1120
STYLE: Nightly Date Stamp
2008-01-28 00:01:02 -05:00
Brad King
8f97980615
COMP: Use kwsys to get STL set_intersection algorithm.
2008-01-27 15:09:58 -05:00
Brad King
99b97dece8
ENH: Created cmComputeLinkDepends to compute link dependencies.
...
- This will be useful for imported library dependencies
- Replaces old cmTarget analyze-lib-depends stuff for linking
- Formalizes graph construction and dump
- Explicitly represents dependency inferral sets
- Use BFS of initial dependencies to preserve order
2008-01-27 13:42:49 -05:00
Brad King
c631aa2a87
STYLE: Nightly Date Stamp
2008-01-27 00:01:07 -05:00
Brad King
a35145fb27
STYLE: Nightly Date Stamp
2008-01-26 00:01:03 -05:00
Brad King
386a6ebf25
COMP: Need to return a value from fake MD5 method under bootstrap.
2008-01-25 08:11:04 -05:00
Brad King
817d17e822
STYLE: Nightly Date Stamp
2008-01-25 00:01:03 -05:00
Brad King
f1c5b50cb7
COMP: Cannot do MD5 from KWSys during CMake bootstrap.
2008-01-24 16:11:06 -05:00
Brad King
1dec54489a
ENH: Add cmSystemTools::ComputeStringMD5 method.
2008-01-24 14:41:18 -05:00
Brad King
02b1767e42
BUG: Make cmake -E remove_directory work when directory is not present.
2008-01-24 14:37:48 -05:00
Brad King
3a462fa673
ENH: Apply new implicit link directory find_library policy when loading a cache from an earlier CMake.
2008-01-24 07:37:15 -05:00
Brad King
7213408287
ENH: Added cmMakefile::NeedCacheCompatibility method and support for it in cmCacheManager. This will allow commands to modify their behavior when running with a cache loaded from an earlier CMake version.
2008-01-24 07:37:08 -05:00
Brad King
f5d86035f2
COMP: Add include of <limits.h> to get USHRT_MAX constant.
2008-01-24 07:31:59 -05:00
Brad King
8b1117e6c9
STYLE: Nightly Date Stamp
2008-01-24 00:01:03 -05:00
Alexander Neundorf
cebb599b53
STYLE: fix typo
...
Alex
2008-01-23 18:34:19 -05:00
Brad King
11ad0bace4
ENH: Remove sparcv9 architecture subdir added earlier. The new implicit link directory policy takes care of the problem.
2008-01-23 17:53:18 -05:00
Brad King
f5a5b1ffd6
ENH: Simplify code by removing unnecessary LINK_DIRECTORIES call.
2008-01-23 16:53:33 -05:00
Brad King
7adb808244
ENH: Teach find_library to avoid returning library paths in system directories that may be converted to architecture-specific directories by the compiler when it invokes the linker.
2008-01-23 16:21:49 -05:00
Brad King
48fddd602d
BUG: Fix cmComputeLinkInformation cycle detection.
2008-01-23 15:56:17 -05:00
Brad King
f27379e3f7
ENH: Added CMAKE_LINK_OLD_PATHS compatibility mode for linker search paths.
2008-01-23 15:22:38 -05:00
Brad King
65c1d62902
COMP: Fix build on Borland 5.5.
2008-01-23 13:37:28 -05:00
Brad King
09af624dee
BUG: Fix generation of Watcom link lines.
...
- Work-around bug in Watcom command line parsing for spaces in paths.
- Add 'library' option before libraries specified by file path.
2008-01-23 13:30:55 -05:00
Brad King
865c2bc6d6
BUG: Work-around bug in MSVC 6 command line parsing.
2008-01-23 13:03:03 -05:00
Ken Martin
3d63c85f75
ENH: look for CTestConfiguration.ini first
2008-01-23 12:51:24 -05:00
Ken Martin
0e69d38004
ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class
2008-01-23 10:28:26 -05:00
Brad King
72a301f880
BUG: Be less aggressive about finding conflicts in the runtime path when the real soname is not known.
2008-01-23 10:21:08 -05:00
Brad King
e417fb7100
ENH: Enable library search path suffix for sparcv9 architecture. This should be generalized to a platform file later.
2008-01-23 09:53:33 -05:00
Brad King
78fcb26695
STYLE: Nightly Date Stamp
2008-01-23 00:01:03 -05:00
Brad King
ceb716575e
BUG: When a library file name is linked without a path make sure the link type is restored after the -l option.
2008-01-22 10:05:27 -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
0df9e6904c
COMP: Remove inline keyword from forward declaration for VS9.
2008-01-22 08:52:48 -05:00
Brad King
a6af060b35
STYLE: Nightly Date Stamp
2008-01-22 00:01:10 -05:00
Brad King
480d733daf
ENH: Updated find_package documentation to describe common usage first.
2008-01-21 22:48:07 -05:00
Brad King
16247cbfc3
ENH: Add support to find_library to transform /lib to /lib32 on some architectures.
2008-01-21 18:30:36 -05:00
Brad King
a28b197b11
ENH: Generalize the check for sizeof void* to detect more ABI information.
2008-01-21 18:30:17 -05:00
Brad King
17dbc31ad4
BUG: Added missing documentation of LINK_FLAGS_<CONFIG> property.
2008-01-21 13:59:10 -05:00
Brad King
9a16d01591
COMP: snprintf is not portable.
2008-01-21 13:04:08 -05:00