Commit Graph

10618 Commits

Author SHA1 Message Date
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
Brad King 8375bb4768 ENH: Remove unnecessary compiler force macros. The compiler ID can now be detected without linking an executable. 2008-02-14 10:50:43 -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
Clinton Stimpson f868fe3abd BUG: Fix error when paths have + in them. (special regex characters) 2008-02-14 01:11:20 -05:00
Brad King 3db5c76198 STYLE: Nightly Date Stamp 2008-02-14 00:01:02 -05:00
Sebastien Barre 5ee18d5c55 ENH: fix advanced bug 2008-02-13 17:00:20 -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
Brad King 9439cbd4ba BUG: Fix FindQt4.cmake QT4_CREATE_MOC_COMMAND macro to work with spaces in the path while using the @ syntax on MSYS builds. 2008-02-13 14:35:10 -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 f0cee3fe4c ENH: Fix eCos.cmake to not require a forced compiler
- Search for libtarget.a explicitly
  - Do not complain about compiler id during try-compile
2008-02-11 17:01:02 -05:00
Brad King a75079d9e0 ENH: When detecting the compiler id try compiling only to an object file. 2008-02-11 17:00:54 -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 5a834b0bb0 ENH: Remove CMAKE_ANSI_CFLAGS variable and instead always add ansi flags to CMAKE_C_COMPILE_OBJECT. We should not require every project to reference CMAKE_ANSI_CFLAGS. 2008-02-11 15:31:32 -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 e52d3b9268 ENH: build the qt gui 2008-02-09 10:05:54 -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 a8c4244916 ENH: Better way to have escaping done correctly for all generators. 2008-02-08 12:01:54 -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 a71d56096c BUG: Need ANSI C. 2008-02-08 09:24:29 -05:00
Brad King c71f62fbff STYLE: Nightly Date Stamp 2008-02-08 00:01:05 -05:00
Clinton Stimpson e6c9f302f2 BUG: Fix arg for moc parameter file so it works with unix makefiles, when the
build dir has a space in it.
2008-02-07 23:26:42 -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 bdb628145a ENH: Make Dependency test Case2 require two traversals of a static library loop. 2008-02-07 16:14:17 -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