Brad King
88bd02a5d1
STYLE: Nightly Date Stamp
2008-02-25 00:01:03 -05:00
Brad King
58480575a3
ENH: Simplify make build rule generation by removing use of OBJECTS_QUOTED and TARGET_QUOTED rule variables and updating the generation of OBJECTS to always use the newer cmLocalGenerator::Convert method.
2008-02-24 14:05:21 -05:00
Brad King
dab5ea859a
COMP: Fix Borland 5.5 build
...
- Its <iosfwd> header includes windows.h which
defines GetCurrentDirectory
- It defines 'interface' so we cannot use it as
a variable name.
2008-02-24 14:05:11 -05:00
Brad King
daaaf7fdcc
STYLE: Nightly Date Stamp
2008-02-24 00:01:02 -05:00
Brad King
a48f7968b6
STYLE: Nightly Date Stamp
2008-02-23 00:01:05 -05:00
Brad King
5e7dce703e
COMP: Fix unreachable code warning in cmOrderDirectories.
2008-02-22 09:44:11 -05:00
Brad King
f76464dd28
STYLE: Nightly Date Stamp
2008-02-22 00:01:03 -05:00
Brad King
90b99433fc
COMP: Remove unused local variable from cmOrderDirectories.
2008-02-21 13:59:34 -05:00
Brad King
782e9f7ffe
ENH: Improve linking to third-party shared libraries on soname platforms
...
- Reduce false positives in cases of unknown soname
- Make library extension regular expressions match only at end of string
- When linking to libraries in implicit dirs convert to the -l option
only if the file name is one that can be found by the linker
(ex. /usr/lib/libfoo.so.1 should be linked by full path)
- Add cmSystemTools::GuessLibrarySOName to guess the soname of a
library based on presence of a symlink
- In cmComputeLinkInformation try to guess an soname before assuming
that a third-party library is built without an soname
- In cmOrderDirectories guess the soname of shared libraries in cases
it is otherwise unknown
2008-02-21 13:58:41 -05:00
Brad King
fd37a6ec3d
ENH: Better linker search path computation.
...
- Use linker search path -L.. -lfoo for lib w/out soname
when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME
- Rename cmOrderRuntimeDirectories to cmOrderDirectories
and generalize it for both soname constraints and link
library constraints
- Use cmOrderDirectories to order -L directories based
on all needed constraints
- Avoid processing implicit link directories
- For CMAKE_OLD_LINK_PATHS add constraints from libs
producing them to produce old ordering
2008-02-21 11:41:11 -05:00
Brad King
9f2f456e7d
STYLE: Nightly Date Stamp
2008-02-21 00:01:05 -05:00
Brad King
454da64c99
BUG: Link scripts should be generated with copy-if-different and included as a dependency of the link rule.
2008-02-20 14:56:29 -05:00
Brad King
5e72a0d4e4
ENH: Deprecate export_library_dependencies
...
- Reference export() and install(EXPORT)
- Fix to support OUTPUT_NAME in simple cases
2008-02-20 13:36:38 -05:00
Brad King
cfd65e29da
STYLE: Nightly Date Stamp
2008-02-20 00:01:05 -05:00
Luis Ibanez
c3899ab4be
ENH: Missing copyright header.
2008-02-19 18:50:52 -05:00
Alexander Neundorf
f4b28ee044
STYLE: patch part 3 from Miguel: follow naming style for variables
...
Alex
2008-02-19 16:34:49 -05:00
Alexander Neundorf
a2fadc80fa
ENH: patch from Miguel part 2: if ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT is
...
true, then the generator additionally generates eclipse project files in the
source dir, since this is the only way to get cvs/svn working with eclipse
This is off by default and the user has to enable it explicitely. If cmake
can't write there it still continues.
Alex
2008-02-19 16:27:03 -05:00
Alexander Neundorf
87ae93362c
ENH: patch part 1 from Miguel: use the cmake project name for the eclipse
...
project name
Alex
2008-02-19 15:07:28 -05:00
Bill Hoffman
01bd9819c3
ENH: better ui
2008-02-19 14:47:32 -05:00
Alexander Neundorf
969ea3f449
ENH: add support for creating the documentation in docbook format
...
(http://www.oasis-open.org/docbook/xml/4.2/ ), which users can then convert
to other formats.
Tested with meinproc from KDE, which generates HTML pages which look good.
Alex
2008-02-19 14:33:43 -05:00
Bill Hoffman
ee2a13b11f
ENH: install working with symlink qt tool
2008-02-19 14:26:20 -05:00
Bill Hoffman
4a9517a688
ENH: add mac install symlink option to dialog
2008-02-19 14:06:10 -05:00
Brad King
a3c2d32802
COMP: Fix HP warning about cmTargetInternalPointer::operator= checking for self-assignment.
2008-02-19 09:09:46 -05:00
Brad King
50f8edd10a
STYLE: Nightly Date Stamp
2008-02-19 00:01:04 -05:00
Brad King
9ed4266306
ENH: Cleanup impl of PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE properties
2008-02-18 16:38:34 -05:00
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
Brad King
f41b1e8e91
ENH: Implement version support in the find_package command module mode. Version numbers provided to the command are converted to variable settings to tell the FindXXX.cmake module what version is requested. This addresses issue #1645 .
2008-01-21 08:48:33 -05:00
Brad King
9198a92af9
COMP: Fix VS6 and old HP build. This source does not have the #define for hack.
2008-01-21 08:01:04 -05:00
Brad King
b1151a6487
STYLE: Nightly Date Stamp
2008-01-21 00:01:03 -05:00
Brad King
ce2b20361a
BUG: Fix previous commit to not access empty strings out of bounds.
2008-01-20 19:29:12 -05:00
Brad King
9f982d7d39
BUG: Make sure search paths never have double-slashes. Leading with two slashes (//) on cygwin looks like a network path and delays while waiting for a non-existent machine. This file was left out of the previous checkin for this problem.
2008-01-20 17:41:14 -05:00
Brad King
c7b844ba3e
BUG: Make sure search paths never have double-slashes. Leading with two slashes (//) on cygwin looks like a network path and delays while waiting for a non-existent machine.
2008-01-20 17:24:46 -05:00
Brad King
b28c2625c7
COMP: Fix build during bootstrap on MSys.
2008-01-20 13:36:13 -05:00
Brad King
983625e2b5
STYLE: Nightly Date Stamp
2008-01-20 00:01:03 -05:00
Ken Martin
c3ab83150c
ENH: improve backwards compatibility
2008-01-19 15:09:36 -05:00
Brad King
abf2054765
STYLE: Nightly Date Stamp
2008-01-19 00:01:03 -05:00
Brad King
aed67d5d93
COMP: Fix build on Borland 5.5.
2008-01-18 18:40:05 -05:00
Alexander Neundorf
52b96e5bd9
BUG: don't crash if cmMakefile::RaiseScope() is called from a cmake file in
...
the top level directory in normal code (i.e. not within a function)
Alex
2008-01-18 17:11:50 -05:00
Alexander Neundorf
fc8ce17433
ENH: remove RAISE_SCOPE() again and instead add SET(<var> <value> PARENT_SCOPE)
...
Alex
2008-01-18 15:52:54 -05:00
Bill Hoffman
77ef811c8e
ENH: add MSVC90 define to vs9 ide
2008-01-18 14:34:48 -05:00
Ken Martin
f74c8cf0d8
STYLE: fix bug 5682
2008-01-18 12:26:45 -05:00
Ken Martin
7c473d4828
BUG: fix bugs 5539 (progress going beyond 100% when new files are added) and 5889 (tests are not found in some cases when using add_subdirectory to .. etc)
2008-01-18 10:25:25 -05:00
Brad King
6ad79d13dd
BUG: Construction of COMPILE_DEFINITIONS_<CONFIG> property name must use upper-case config name.
2008-01-18 08:35:37 -05:00
Brad King
2eff05e5cb
STYLE: Fix line-too-long.
2008-01-18 08:19:37 -05:00
Brad King
10678ea1d7
STYLE: Nightly Date Stamp
2008-01-18 00:01:02 -05:00
Brad King
119e02631c
ENH: Clarify documentation of find_package command.
2008-01-17 20:59:57 -05:00
Brad King
9d57dbd098
ENH: Make per-configuration COMPILE_DEFINITIONS_<CONFIG> directory property initialized from parent.
2008-01-17 20:34:10 -05:00
Brad King
8d1d5500c8
ENH: Enable use of COMPILE_DEFINITIONS property for Fortran sources.
2008-01-17 19:58:01 -05:00
Brad King
7f589c9f23
BUG: COMPILE_DEFINITIONS directory property needs to be inherited from parent when a directory is created.
2008-01-17 19:50:39 -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
caca9b8065
ENH: Add AppendProperty methods for use by C++ code in CMake. Simplify implementation of SET_PROPERTY command by using them.
2008-01-17 18:13:55 -05:00
Alexander Neundorf
9e8a1c639a
STYLE: PATHS is optional ( #6253 )
...
Alex
2008-01-17 17:49:30 -05:00
Alexander Neundorf
eccee212e1
STYLE: fix typo ( #6252 )
...
Alex
2008-01-17 17:43:04 -05:00
Brad King
669db35aa4
ENH: Changed signature of GET_PROPERTY command to be more powerful and extendible.
2008-01-17 17:19:13 -05:00
Brad King
83901b30da
COMP: Fix VS build.
2008-01-17 16:24:51 -05:00
Brad King
b8357db11d
ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more powerful signature.
2008-01-17 15:54:49 -05:00
Ken Martin
456631225b
ENH: use CTestTestfile.txt
2008-01-17 12:44:59 -05:00
Ken Martin
14fc7dd1dd
ENH: remove unused prototype
2008-01-17 12:35:07 -05:00
Brad King
5ef98132dd
COMP: Fix warning about missing virtual destructor.
2008-01-17 10:32:27 -05:00
Brad King
18b9e7db6c
ENH: Enable CMAKE_<lang>_DEFINE_FLAG for COMPILE_DEFINITIONS property implementation.
2008-01-17 10:00:19 -05:00
Brad King
b424df917d
ENH: Major improvements to the FIND_PACKAGE command. See bug #3659 .
...
- Use CMAKE_PREFIX_PATH and CMAKE_SYSTEM_PREFIX_PATH among other means
to locate package configuration files.
- Create cmFindCommon as base for cmFindBase and cmFindPackageCommand
- Move common functionality up to cmFindCommon
- Improve documentation of FIND_* commands.
- Fix FIND_* commands to not add framework/app paths in wrong place.
2008-01-17 09:02:31 -05:00
Brad King
491d5d0104
STYLE: Nightly Date Stamp
2008-01-17 00:01:02 -05:00
Brad King
a06dcdba97
ENH: Allow LIST(APPEND) command to append nothing.
2008-01-16 11:24:41 -05:00
Brad King
34c04bbc24
STYLE: Nightly Date Stamp
2008-01-16 00:01:04 -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
Bill Hoffman
a7e1031efe
ENH: remove patch as directory change was already fixed
2008-01-15 14:00:52 -05:00
Bill Hoffman
feea7133ef
BUG: fix for bug 6234, use cd /d so that drives can be changed.
2008-01-15 11:56:41 -05:00
Brad King
34c04d6d02
ENH: Added partial implementation of recognizing per-configration properties.
2008-01-15 10:49:59 -05:00
Brad King
da335fbd00
ENH: Add explicit documentation entry for configuration-specific <CONFIG>_COMPILE_DEFINITIONS.
2008-01-15 10:49:22 -05:00
Brad King
53e9b5b329
STYLE: Nightly Date Stamp
2008-01-15 00:01:06 -05:00
Alexander Neundorf
f8f232bdd8
BUG: make -help-module-list work by filling the modules section first, also
...
for custom modules
Alex
2008-01-14 17:05:09 -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
Brad King
2c42f75522
STYLE: Nightly Date Stamp
2008-01-14 00:01:04 -05:00
Brad King
340468a090
BUG: Removed stray debugging statement.
2008-01-13 16:59:09 -05:00
Brad King
857e2e15dd
ENH: Improved escaping in kwsys/System. Added escape of % for NMake. Added escape of ; for the VS IDE.
2008-01-13 16:36:20 -05:00
Brad King
4e96f4d503
STYLE: Nightly Date Stamp
2008-01-13 00:01:04 -05:00
Brad King
615ce67ad4
COMP: Fix build on borland.
2008-01-12 09:52:50 -05:00
Brad King
330b7c3f63
STYLE: Nightly Date Stamp
2008-01-12 00:01:05 -05:00
Bill Hoffman
ee886fbbdb
ENH: add CMAKE_DEFINE_FLAG_(LANG) that can replace -D flags with what the compiler actually uses
2008-01-11 13:00:29 -05:00
Brad King
a6d32b96ed
ENH: Add SystemTools::SplitPathRootComponent and re-implement SplitPath to use it. Add better treatment of user home directory paths.
2008-01-11 08:33:48 -05:00
Brad King
d7c7ab0927
STYLE: Nightly Date Stamp
2008-01-11 00:01:04 -05:00
Brad King
1c2ffbb5bc
BUG: Fix hang in Process_Kill on OS X caused by an OS bug in which a pipe read end cannot be closed if the pipe write end is open, the pipe is full, and another process is blocking waiting to write. Work around the problem by killing the children before closing the pipes.
2008-01-10 18:32:38 -05:00
Bill Hoffman
d92d51429e
BUG: fix for bug 6193, fix xcode depend helper
2008-01-10 15:17:23 -05:00
Brad King
564a23c6ba
COMP: Fix build on VS6.
2008-01-10 09:46:04 -05:00
Brad King
d53a7a38a1
STYLE: Nightly Date Stamp
2008-01-10 00:01:05 -05:00
Amitha Perera
4d9259c15b
STYLE: Spelling fixes on documentation
2008-01-09 22:09:19 -05:00
Alexander Neundorf
acb27977f0
ENH: sort the module files alphabetically when generating the documentation
...
of rht modules
Alex
2008-01-09 16:59:01 -05:00
Brad King
b761da39c1
ENH: Patch from Maik to add preprocessor directive handling to Fortran dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default.
2008-01-09 10:30:11 -05:00
Brad King
09e309c3d0
STYLE: Nightly Date Stamp
2008-01-09 00:01:03 -05:00
Bill Hoffman
3777f4139d
ENH: figure out long long value
2008-01-08 17:51:05 -05:00
Bill Hoffman
91edea1b8d
ENH: fix lots of warnings
2008-01-08 17:20:04 -05:00
Bill Hoffman
b9a54d392e
ENH: turn off for now
2008-01-08 16:28:46 -05:00
Bill Hoffman
50c5d5a3d5
ENH: fix leaks and turn on by default
2008-01-08 14:59:57 -05:00
Bill Hoffman
66fff9d4b7
ENH: add missing file
2008-01-08 11:43:07 -05:00
Bill Hoffman
c87853430e
ENH: add new system information class for use in ctest
2008-01-08 11:38:28 -05:00
Bill Hoffman
4b166fc319
BUG: make it compile on vs 6
2008-01-08 08:25:07 -05:00
Brad King
7f406eed93
STYLE: Nightly Date Stamp
2008-01-08 00:01:03 -05:00
Brad King
e2e8993eb3
BUG: Fix parsing of fortran include directives during dependency scanning. Previously only #include worked but not just include.
2008-01-07 23:08:42 -05:00
Brad King
52eb0ccac7
BUG: Restore old interface of "make foo.o" and "make foo.i" even though object file names now include source extensions. For Java we also need to always remove the source extension (.java -> .class). This fixes the re-opening of bug #6169 .
2008-01-07 16:12:37 -05:00
Alexander Neundorf
9f2790d3e7
BUG: with cmake 2.4 INSTALL_FILES() with no files was accepted by cmake,
...
with cmake cvs without this patch an invalid cmake_install.cmake script was
generated in this case, it failed with an error if no files were given. So
just do nothing if no files are listed to make it compatible.
http://lists.kde.org/?l=kde-commits&m=119965185114478&w=2
Alex
2008-01-07 14:52:45 -05:00
Brad King
e73508aa65
ENH: Changes based on patch from Maik for better cmDependsFortran::ModulesDiffer.
2008-01-07 11:36:17 -05:00
Brad King
0d916d4e72
STYLE: Nightly Date Stamp
2008-01-07 00:01:02 -05:00
Alexander Neundorf
9aeffa6e11
BUG: fix #6105 , if a directory inside CMAKE_FIND_ROOT_PATH is given to a
...
FIND_XXX() command, don't prepend the root to it (since it is already in
this root)
Alex
2008-01-06 17:18:15 -05:00
Brad King
6c073ddb65
STYLE: Nightly Date Stamp
2008-01-06 00:01:04 -05:00
Brad King
b26afe75fd
STYLE: Nightly Date Stamp
2008-01-05 00:01:03 -05:00
Brad King
4e514a5e00
BUG: File installation should overwrite the destination if the file times differ at all rather than only if the source file is newer. Users expect installation to overwrite destination files. This addresses the re-opening of bug#3349.
2008-01-04 14:22:57 -05:00
Brad King
b8785c4524
STYLE: Nightly Date Stamp
2008-01-04 00:01:03 -05:00
Ken Martin
ac4c2f675a
ENH: change raise_scope signature to be safer for returned varuables
2008-01-03 11:22:33 -05:00
Brad King
c61a3b6fe9
STYLE: Fix line-too-long.
2008-01-03 09:40:38 -05:00
Bill Hoffman
45a4ddd85c
BUG: fix resource file with a full path
2008-01-03 07:28:12 -05:00
Alexander Neundorf
b6918bd9a4
COMP: fix build on Windows with gcc, patch from Maik Beckmann
...
Alex
2008-01-03 04:19:30 -05:00
Brad King
38ed52fe14
ENH: Add method cmFileTimeComparison::FileTimesDiffer to check if file times differ by 1 second or more.
2008-01-03 00:01:38 -05:00
Brad King
8ca81ae7bf
STYLE: Nightly Date Stamp
2008-01-03 00:01:02 -05:00
Brad King
aa399c2350
ENH: Cleanup Fortran build directories by placing module stamp files in the target directory that builds them. This is actually a simpler implementation anyway.
2008-01-02 18:30:48 -05:00
Brad King
dcd9a1b59f
BUG: Make RAISE_SCOPE function work when variable is not defined.
2008-01-02 17:49:16 -05:00
Alexander Neundorf
3da6fd9da4
ENH: only allow usage of chrpath if the executable file format is ELF
...
Alex
2008-01-02 16:53:10 -05:00
Alexander Neundorf
7b54af713d
ENH: add the keywords OFFSET and HEX to the FILE() command, using OFFSET an
...
offset can be specified where the reading starts, and using HEX the data can
be converted into a hex string, so binary data can be compared with text
functions
-add docs for LIMIT, OFFSET and HEX
Alex
2008-01-02 16:46:38 -05:00
Brad King
2625b0498b
STYLE: Fixed line-too-long.
2008-01-02 15:55:18 -05:00
Brad King
62ff2befcc
BUG: Do not use VSMacros stuff for VS8sp0 because macros do not work in that version.
2008-01-02 15:53:28 -05:00
Brad King
60bf0531b0
ENH: Added FILES_MATCHING option to INSTALL(DIRECTORY). This will help install a tree of header files while ignoring non-headers.
2008-01-02 15:17:56 -05:00
Bill Hoffman
ff04863d9d
BUG: fix for bug 6197, absolute paths were not supported
2008-01-02 11:08:02 -05:00
Brad King
c7de81f9a6
ENH: Make the Fortran compiler id available to cmDependsFortran at scanning and module timestamp copy time.
2008-01-02 11:04:52 -05:00
Bill Hoffman
c8b8e0c702
BUG: fix for bug 6207 explain list index values better
2008-01-02 10:56:08 -05:00
Bill Hoffman
603cd2ab6a
ENH: fix new incremental link stuff to work with nmake @ files
2008-01-02 09:32:29 -05:00
Brad King
8624abf272
STYLE: Nightly Date Stamp
2008-01-02 00:01:03 -05:00
Bill Hoffman
ada4252c56
ENH: remove warning
2008-01-01 17:19:11 -05:00
Bill Hoffman
b479c6a8a9
ENH: add ability to have manifest files and incremental linking with make and nmake
2008-01-01 15:13:41 -05:00
Brad King
06a24eee51
STYLE: Nightly Date Stamp
2008-01-01 00:01:03 -05:00
David Cole
546c839d04
ENH: Add a dependency from the PACKAGE target to the ALL target so that "make package" will first (essentially) do a "make all"... A similar chunk of code already existed for the make install target. This change makes it easy to build an installer package as part of a dashboard run simply by setting CTEST_BUILD_TARGET to "package".
2007-12-31 17:29:20 -05:00
Brad King
1f987c06ea
ENH: Changes based on patch from Maik Beckmann to copy fortran modules to timestamps only if they have really changed. This optimization should reduce extra rebuilds caused by dependencies on modules whose providers have recompiled but whose interfaces have not changed.
2007-12-31 11:25:17 -05:00
Brad King
1ebf5aa2df
STYLE: Nightly Date Stamp
2007-12-31 00:01:03 -05:00
Brad King
b2e8c07af8
ENH: Implemented Fortran module output directory and search path flags.
2007-12-30 16:11:38 -05:00
Brad King
cd8a2bbab6
ENH: Simplify Fortran module proxy dependency implementation by removing unnecessary target.
2007-12-30 12:23:54 -05:00
Brad King
e30e58d38b
STYLE: Nightly Date Stamp
2007-12-30 00:01:04 -05:00
Alexander Neundorf
f3ea6a351a
BUG: create modules documentation not only for the first documentation creation step
...
in cmake (the set ModulesFound wasn't cleared at the beginning of each
PrintDocumentation() function, so when documentation for modules was executed the second
time, ModulesFound already contained all modules and so no module was
documented)
Alex
2007-12-29 11:53:36 -05:00
Brad King
bd454247da
STYLE: Nightly Date Stamp
2007-12-29 00:01:04 -05:00
Brad King
3efc6e40cb
BUG: Do not remove the source file extension when computing an object file name. This addresses bug #6169 . If CMAKE_BACKWARDS_COMPATIBILITY is 2.4 or lower maintain the old behavior so that existing build trees and old project releases are not affected.
2007-12-28 23:07:26 -05:00
Brad King
f872c10b7e
ENH: Added method cmLocalGenerator::GetBackwardsCompatibility to reduce parsing of CMAKE_BACKWARDS_COMPATIBILITY variable. Add cmLocalGenerator::NeedBackwardsCompatibility to simplify checks for compatibility requirements.
2007-12-28 23:07:14 -05:00
Brad King
edd5f1f5f1
COMP: Fix uninitialized variable and unused parameter warnings.
2007-12-28 22:29:19 -05:00
Brad King
59aa144516
ENH: Simplified and moved link script implementation up from cmMakefileLibraryTargetGenerator to cmMakefileTargetGenerator and use for cmMakefileExecutableTargetGenerator too. This addresses bug #6192 .
2007-12-28 14:59:06 -05:00
Brad King
0a7bb41129
ENH: Make FIND_* commands look in the CMAKE_PREFIX_PATH directories directly after looking in each command's specific subdirectory (/include, /lib, or /bin). This may be useful on Windows where projects could be installed in a single directory. See issue #4947 .
2007-12-28 12:01:37 -05:00
Brad King
81f6e86f12
ENH: Add per-language clean rule generation to cmake_clean.cmake files to include cmake_clean_<lang>.cmake files generated by dependency scanning. Add Fortran module file and timestamp cleaning rules.
2007-12-28 11:50:14 -05:00
Brad King
68dad94b00
ENH: Implement Fortran module dependencies across targets and directories.
...
- See issue #5809
- Keep information about all sources in the target until deps are written
- Create a fortran.internal file after scanning that lists modules provided
- Load fortran.internal files from linked targets to find modules
- Search the include path for external modules
- Create file-level deps on in-project module timestamps or external mods
2007-12-28 11:49:59 -05:00
Brad King
42f3f3c342
ENH: Store in DependInfo.cmake files a list of the corresponding files for the targets to which a target links. This is useful for locating Fortran modules provided by linked targets. See issue #5809 .
2007-12-28 11:49:46 -05:00
Brad King
9528b38fba
STYLE: Nightly Date Stamp
2007-12-28 00:01:05 -05:00
Brad King
2541c05b3d
STYLE: Nightly Date Stamp
2007-12-27 00:01:03 -05:00
Brad King
ad788fe4c8
STYLE: Nightly Date Stamp
2007-12-26 00:01:05 -05:00
Brad King
ae3f8adf1f
STYLE: Nightly Date Stamp
2007-12-25 00:01:03 -05:00
Brad King
70f73adccb
COMP: Fix build on VS6.
2007-12-24 11:15:45 -05:00
Brad King
fc55596bd5
STYLE: Nightly Date Stamp
2007-12-24 00:01:03 -05:00
Brad King
611d1119d1
ENH: Clarify documentation of link_directories command for bug#6199.
2007-12-23 19:03:22 -05:00
Brad King
430296dc96
ENH: Moved global inter-target dependency analysis and cycle-prevention code up from cmGlobalUnixMakefileGenerator3 to cmGlobalGenerator. Simplified cmGlobalUnixMakefileGenerator3 to use it. Later other generators may be modified to use it also.
2007-12-23 15:03:42 -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
d21dc588ef
BUG: Disable static lib deps until a global cycle removal can be done.
2007-12-23 13:13:44 -05:00
Brad King
e521c5674d
STYLE: Nightly Date Stamp
2007-12-23 00:01:03 -05:00
Brad King
4d360f7ac5
ENH: Convert cmDepends object interface to scan an entire target at once.
2007-12-22 22:41:42 -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
2836fc43e7
BUG: Support cyclic dependencies among STATIC libraries by removing one from the generated Makefile rules.
2007-12-22 13:08:26 -05:00
Brad King
9fcd08e17c
STYLE: Nightly Date Stamp
2007-12-22 00:01:03 -05:00
Brad King
e23348c5a6
COMP: Remove unused parameter of method.
2007-12-21 18:32:22 -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
d2be142e3b
BUG: Now that custom targets have dependencies their DependInfo files should be listed in Makefile.cmake.
2007-12-21 13:10:33 -05:00
Brad King
d83b4cd255
ENH: Add a depends check step to custom targets. Add support for the IMPLICIT_DEPENDS feature of custom commands when building in custom targets. Convert multiple-output pair checks to be per-target instead of global.
2007-12-21 12:22:12 -05:00
Brad King
6586149d64
BUG: The dependency scanning target should be symbolic.
2007-12-21 11:00:03 -05:00
Brad King
e72521b720
STYLE: Nightly Date Stamp
2007-12-21 00:01:02 -05:00
Alexander Neundorf
355b1f23af
STYLE: make formatting of help a bit more consistent
...
Alex
2007-12-20 17:49:38 -05:00
Ken Martin
f69a6a7c8c
BUG: fix issue with CMAKE_CURENT_LIST_FILE reporting in funcitons
2007-12-20 10:05:08 -05:00
Brad King
4ca0d1ba09
COMP: Fixed error on HP due to newline macro.
2007-12-20 09:35:14 -05:00
Brad King
850721f9af
COMP: Fixed data loss warning.
2007-12-20 09:27:59 -05:00
Brad King
48be0a596f
STYLE: Nightly Date Stamp
2007-12-20 00:01:04 -05:00
Brad King
011d7db6bd
BUG: Fix make depend target in subdirectory Makefile interface.
2007-12-19 17:54:24 -05:00
Brad King
73704ede42
ENH: Enabled color printing of "Scanning dependencies of target ..." message.
2007-12-19 17:15:41 -05:00
Alexander Neundorf
f0824c7a19
ENH: options() is now scriptable, set() is scriptable too, I don't see a big
...
difference
Alex
2007-12-19 16:53:58 -05:00
Alexander Neundorf
3a304f8e1b
STYLE: nicer error message:
...
"Command options() is not scriptable" is IMO better to understand than
"Command options not scriptable" (with all uppercase commands it was easier to see)
Alex
2007-12-19 16:46:15 -05:00
Brad King
de96fd1df9
ENH: Moved dependency integrity check from CheckBuildSystem over to a per-target UpdateDependencies step. This greatly reduces the startup time for make processes and allows individual targets to be built without a global dependency check.
2007-12-19 16:36:30 -05:00
Brad King
c7bf320539
BUG: cmDependsFortran should store the source file as a dependency of the object file when scanning for dependencies.
2007-12-19 16:35:09 -05:00
Brad King
891256546b
ENH: Pass target directory to cmDependsFortran scanning instances.
2007-12-19 14:28:46 -05:00
Brad King
9ccba7c391
ENH: Improved speed of cmake::CheckBuildSystem when checking build system outputs versus dependencies. Instead of doing an O(m*n) comparison of every pair, just locate the oldest output and the newest input and compare them which is now O(m+n).
2007-12-19 11:51:30 -05:00
Brad King
07db9b83a7
ENH: Renamed CMAKE_FIND_PREFIX_PATH to CMAKE_PREFIX_PATH for brevity and consistency with other find path variable names.
2007-12-19 11:06:47 -05:00
Brad King
d1fdc38c68
ENH: Added CMAKE_SYSTEM_PREFIX_PATH variable.
2007-12-19 10:34:43 -05:00
Alexander Neundorf
ac017f7aba
STYLE: fix warnings: comparison signed/unsigned, unused variable
...
Alex
2007-12-19 03:56:13 -05:00
Brad King
42da2be0b1
STYLE: Nightly Date Stamp
2007-12-19 00:01:03 -05:00
Alexander Neundorf
3ae731fab7
ENH: add support for chrpath, so the RPATH in ELF files can be changed when
...
installing without having to link the target again -> can save a lot of time
chrpath is handled very similar to install_name_tool on the mac. If the
RPATH in the build tree file is to short, it is padded using the separator
character.
This is currently disabled by default, it can be enabled using the option
CMAKE_USE_CHRPATH. There are additional checks whether it is safe to enable
it. I will rework them and use FILE(READ) instead to detect whether the
binaries are actually ELF files.
chrpath is available here
http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/
or kde svn (since a few days): http://websvn.kde.org/trunk/kdesupport/chrpath/
Alex
2007-12-18 17:50:27 -05:00
Bill Hoffman
b57b1c563d
BUG: fix for bug 6172 add get source file prop LANGUAGE
2007-12-18 09:57:41 -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
Bill Hoffman
42bad89fe7
STYLE: fix line len
2007-12-18 08:53:10 -05:00
Brad King
cffd2f18c6
STYLE: Nightly Date Stamp
2007-12-18 00:01:02 -05:00
Brad King
4c87af30b2
BUG: Remove stray debugging message.
2007-12-17 19:48:13 -05:00
Brad King
abaa026721
BUG: When the working directory for a custom command is on another drive letter we need to change to that drive letter after changing its working directory. Fixes issue #6150 .
2007-12-17 18:38:19 -05:00
Brad King
60149b33c1
BUG: Fixed memory-leaks in fortran parser.
2007-12-17 17:55:21 -05:00
Brad King
ca5c5fc770
BUG: Fix parsing of #include preprocessor directives.
2007-12-17 17:55:03 -05:00
Brad King
44f38c9b86
ENH: Fortran include path is the same as C and CXX include paths.
2007-12-17 17:54:43 -05:00
Bill Hoffman
c6089d1642
BUG: fix for bug 5931 add some more flags for the gui
2007-12-17 17:28:23 -05:00
Bill Hoffman
4c108d2a24
ENH: try to fix dashboard
2007-12-17 15:27:30 -05:00
Brad King
5e0dadbfb8
BUG: Apply patch from issue #6006 .
2007-12-17 15:20:06 -05:00
Bill Hoffman
58f671bb1c
ENH: add support for vs 9 win64
2007-12-17 14:43:11 -05:00
Brad King
8506938407
ENH: Added SOURCES property to targets. This is based on patch from issues #6137 .
2007-12-17 10:12:22 -05:00
Brad King
99d57b3c8c
ENH: Added cmSourceFile::GetLocation method to get a read-only reference to the Location ivar. This partially addresses issue #6137 .
2007-12-17 10:12:19 -05:00
Brad King
ff8d2a6647
STYLE: Nightly Date Stamp
2007-12-17 00:01:02 -05:00
Alexander Neundorf
bcb73bb9f4
BUG: fix STRING(STRIP ...) if no non-space is contained in the input string,
...
this should fix the dashboard
Alex
2007-12-16 07:56:43 -05:00
Brad King
eb098e1970
STYLE: Nightly Date Stamp
2007-12-16 00:01:02 -05:00
Brad King
4143d8a700
ENH: Make module timestamps work for modules in subdirectories. Make sure timestamps for all modules provided by a target are created when the target is done building.
2007-12-15 15:35:00 -05:00
Brad King
994c88559a
STYLE: Removed trailing whitespace.
2007-12-15 14:17:21 -05:00
Brad King
540a98aa45
STYLE: Fixed terminology to avoid confusion between roots and prefixes.
2007-12-15 14:14:05 -05:00
Brad King
99dfcc05ef
STYLE: Fixed line-too-long.
2007-12-15 14:13:14 -05:00
Brad King
f143856371
STYLE: Nightly Date Stamp
2007-12-15 00:01:04 -05:00
Bill Hoffman
779877a2ee
BUG: fix for bug 6039 LIB and INCLUDE not used for find stuff
2007-12-14 20:46:15 -05:00
Bill Hoffman
a5e76555bf
BUG: fix for bug 6136 make sure includes are not directories
2007-12-14 20:31:27 -05:00
Bill Hoffman
f282f999c3
BUG: fix bug 6081
2007-12-14 15:50:10 -05:00
Bill Hoffman
ad75cb7195
BUG: fix for 6086 uninstall icon not set right
2007-12-14 14:58:27 -05:00
Bill Hoffman
1f84c86e21
STYLE: line length
2007-12-14 12:49:36 -05:00
Brad King
1713bf95c6
STYLE: Nightly Date Stamp
2007-12-14 00:01:04 -05:00
Brad King
6db2c473e2
COMP: Add missing return value from Bill's change.
2007-12-13 18:30:53 -05:00
Brad King
9f61e2a235
ENH: Centralized and globalized computation of CMake program locations. This eliminates startup paths that failed to produce this information.
2007-12-13 17:56:50 -05:00
Brad King
ebc036bbda
BUG: Fixed typo introduced by previous commit.
2007-12-13 17:39:53 -05:00
Bill Hoffman
fd33bf93a5
ENH: fix for bug 6102, allow users to change the compiler
2007-12-13 15:54:29 -05:00
Bill Hoffman
3409e0a777
STYLE: fix indent
2007-12-13 15:42:49 -05:00
Bill Hoffman
5f00eb6e79
ENH: fix docs
2007-12-13 15:41:54 -05:00
Bill Hoffman
b9520e00cb
ENH: fix docs
2007-12-13 15:11:09 -05:00
Brad King
b1598e1dfc
STYLE: Nightly Date Stamp
2007-12-13 00:01:03 -05:00
Clinton Stimpson
4bb6141bdc
BUG: Fix logic to accept drop events.
2007-12-12 13:25:24 -05:00
Brad King
42b11caf05
STYLE: Nightly Date Stamp
2007-12-12 00:01:06 -05:00
Brad King
b0078fd3b4
ENH: Added C String utilities to KWSys. Implemented strcasecmp and strncasecmp.
2007-12-11 11:36:57 -05:00
Brad King
76ef80a931
STYLE: Nightly Date Stamp
2007-12-11 00:01:03 -05:00
Brad King
ea5968be99
STYLE: Nightly Date Stamp
2007-12-10 00:01:04 -05:00
Bill Hoffman
af1230fea0
STYLE: fix line len error
2007-12-09 19:58:33 -05:00
Brad King
526e5284c6
STYLE: Nightly Date Stamp
2007-12-09 00:01:03 -05:00
Brad King
4ba844bb01
STYLE: Nightly Date Stamp
2007-12-08 00:01:03 -05:00
Brad King
1f8592cc91
STYLE: Nightly Date Stamp
2007-12-07 00:01:03 -05:00
Philippe Pebay
836e595fcc
BUG: fixed an incomplete regexp
2007-12-06 16:43:11 -05:00
Clinton Stimpson
5d0f88ae22
BUG: Prevent mapping of Configure to Preferences when Qt merges menu items with
...
the standard Mac OS X application menu.
2007-12-06 14:07:52 -05:00
Bill Hoffman
3944e268f4
ENH: for try compile do not put the rules to rebuild the project with cmake inside it. This has caused infinite loops of builds in some cases, and it is just a waste of time anyway.
2007-12-06 09:56:02 -05:00
Bill Hoffman
246e964180
BUG: fix for bug 5455, handle nodefaultlib with more than one lib
2007-12-06 08:40:18 -05:00
Brad King
6d7ca9f9d4
STYLE: Nightly Date Stamp
2007-12-06 00:01:07 -05:00
Brad King
cc80c4e285
COMP: Remove reference to vtksys. The unmangled kwsys name should be used in this source.
2007-12-05 13:13:53 -05:00
Philippe Pebay
f18ae2234c
ENH: added two functions for URL parsing:
...
1. an "abridged" version that separates protocol from dataglom in
an expression with the form protocol://dataglom
2. a "full" version that parses protocol, username, password,
hostname, port, and path in a standard URL (all of these variables
are optional, except for protocol and hostname).
2007-12-05 12:24:27 -05:00
Bill Hoffman
8eea168c23
STYLE: fix line len
2007-12-05 09:17:07 -05:00
Brad King
a6d800351c
STYLE: Nightly Date Stamp
2007-12-05 00:01:02 -05:00
Bill Hoffman
39c164cb83
ENH: remove warning
2007-12-04 17:00:44 -05:00
Bill Hoffman
c34b1b48fc
ENH: do not depend on touch being on the system
2007-12-04 16:09:46 -05:00
Bill Hoffman
5050706ae3
ENH: add a touch -E command to cmake
2007-12-04 16:03:19 -05:00
Ken Martin
ab7f11a239
COMP: fix style and work around old compilers
2007-12-04 10:43:33 -05:00
Brad King
b786d4f184
STYLE: Nightly Date Stamp
2007-12-04 00:01:02 -05:00
Ken Martin
f4b1c3880b
ENH: add functions and raise scope
2007-12-03 13:35:41 -05:00
Ken Martin
257b775f70
ENH: add functions
2007-12-03 12:47:22 -05:00
Ken Martin
951444165f
ENH: add functions and raise scope to cmake
2007-12-03 12:44:42 -05:00
Brad King
50bdabde07
STYLE: Nightly Date Stamp
2007-12-03 00:01:03 -05:00
Brad King
5fcb6d2ffb
STYLE: Nightly Date Stamp
2007-12-02 00:01:03 -05:00
Brad King
dd7a655b60
STYLE: Nightly Date Stamp
2007-12-01 00:01:06 -05:00
Brad King
8537c55988
STYLE: Nightly Date Stamp
2007-11-30 00:01:03 -05:00
Ken Martin
ad581280a5
BUG: fix single module generation
2007-11-29 10:23:26 -05:00
Brad King
0d5e854e91
STYLE: Nightly Date Stamp
2007-11-29 00:01:02 -05:00
Brad King
a3a6cb853b
STYLE: Nightly Date Stamp
2007-11-28 00:01:02 -05:00
Bill Hoffman
6156a33633
ENH: better output for qt assistant
2007-11-27 15:59:22 -05:00
Clinton Stimpson
86126dc41f
ENH: Add handling of --help and related arguments.
2007-11-27 01:04:02 -05:00
Brad King
9b2f950061
STYLE: Nightly Date Stamp
2007-11-27 00:01:04 -05:00
Alexander Neundorf
f2bb0af819
STYLE: restructure OutputLinkLibraries() a bit, so that new there is a
...
function which returns the RPATH, so e.g. the install rpath can be queried
when the command for the build rpath is created. This is a first step for
supporting chrpath.
Alex
2007-11-26 17:57:39 -05:00
Brad King
cc0386f7ea
BUG: Fixed computation of 'object' name for MACOSX_PACKAGE_LOCATION source files.
2007-11-26 10:01:49 -05:00
Brad King
ab480c8e7a
STYLE: Nightly Date Stamp
2007-11-26 00:01:03 -05:00
Alexander Neundorf
fc86a05455
STYLE: move the code for generating the XML for one target in a separate
...
function AppendTarget()
-add "all" target
-some syncing with the Eclipse generator
Alex
2007-11-25 07:45:18 -05:00
Alexander Neundorf
38896657db
ENH: add the "clean" target
...
don't add *all existing* targets as Eclipse targets, but only a subset (the
same as for CodeBlocks), e.g. exclude the subtargets of Experimental, and
also edit_cache, ccmake doesn't work from within an IDE
Alex
2007-11-25 07:40:57 -05:00
Alexander Neundorf
4ed64cf73a
ENH: add GetCleanTargetName() which returns "clean" for makefiles, so it can
...
be used by the eclipse generator
Alex
2007-11-25 07:34:53 -05:00
Alexander Neundorf
153810cd82
ENH: also add the experimental, nightly, package_source, preinstall and
...
rebuild_cache targets
Alex
2007-11-25 06:21:38 -05:00
Alexander Neundorf
d0839eb95e
STYLE: add some comments
...
Alex
2007-11-25 05:26:58 -05:00
Brad King
0fd5a62d4e
STYLE: Nightly Date Stamp
2007-11-25 00:01:04 -05:00
Alexander Neundorf
f13e25e67d
STYLE: QT -> Qt in the docs
...
Alex
2007-11-24 03:51:14 -05:00
Brad King
ba3a55ddcc
STYLE: Nightly Date Stamp
2007-11-24 00:01:05 -05:00
Alexander Neundorf
e3c84cf5a6
ENH: add support for the Syllable OS ( http://www.syllable.org )
...
major issues:
-access() doesn't return false for an empty string (#ifdefed in cmake)
-dlopen() doesn't return 0 on failure (#ifdefed in cmake and fixed now in Syllable)
-the kwsys and Bootstrap tests fail with timeout due to the fact that I'm doing all that in qemu, which is quite slow
-RPATH is now supported, so without modifying the test adapting DLL_PATH in Syllable is required for the tests to succeed
-the Plugin test fails with an undefined reference to example_exe_function() in example_mod_1, it seems this isn't supported under Syllable
Alex
2007-11-23 20:45:49 -05:00
Brad King
d48ab19efe
STYLE: Fixed line-too-long.
2007-11-23 14:53:06 -05:00
Alexander Neundorf
67e8012783
STYLE: QT is quicktime, Qt is Qt, as pointed out by David Faure
...
Alex
2007-11-23 11:30:55 -05:00
Brad King
73a8240669
STYLE: Nightly Date Stamp
2007-11-23 00:01:02 -05:00
Brad King
83a7d9fb35
STYLE: Nightly Date Stamp
2007-11-22 00:01:02 -05:00
Brad King
2176e40212
ENH: Change compiler working directory to the local build tree location when compiling object files. This simplifies the compiler command line and the usage of the <objBase>.s and <objBase>.i targets. It also helps fortran compilers put their modules in the correct place.
2007-11-21 13:37:14 -05:00
Brad King
d1ad16f438
BUG: Do not require a nightly start time for an experimental or continuous test model.
2007-11-21 10:07:00 -05:00
Brad King
91f68fc391
BUG: For imported target directory, do not return pointer to freed memory.
2007-11-21 08:59:43 -05:00
Brad King
553852f990
STYLE: Nightly Date Stamp
2007-11-21 00:01:02 -05:00
Brad King
b94530c7b4
BUG: Need to honor HEADER_FILE_ONLY source file property and exclude the source from the build.
2007-11-20 11:18:04 -05:00
Brad King
eee575283d
STYLE: Fixed line-too-long. COMP: Fixed warnings about lossy conversions.
2007-11-20 11:10:11 -05:00
Brad King
d5ff71a14e
STYLE: Nightly Date Stamp
2007-11-20 00:01:03 -05:00
Brad King
37e8c11827
BUG: Do not force HEADER_FILE_ONLY off if the user has already set it on.
2007-11-19 14:27:31 -05:00
Brad King
678bccc64b
COMP: Do not build VS-specific code when generators are not included.
2007-11-19 14:22:38 -05:00
Clinton Stimpson
0fcf365137
ENH: Add install command for executable.
2007-11-19 14:08:57 -05:00
Brad King
3b59c7b97a
ENH: Added call to StopBuild VS macro when projects fail to regenerate during a build.
2007-11-19 13:45:16 -05:00
Brad King
9f864879b4
ENH: Renamed cmGlobalVisualStudioGenerator::CallVisualStudioReloadMacro method to CallVisualStudioMacro and added arguments to select which macro to call and optionally pass the solution file name. Added option to call to new StopBuild macro. Updated logic for replacing the macro file in user directories when the distributed version is newer.
2007-11-19 13:44:51 -05:00
Brad King
ecf24b1671
BUG: Always return positive integers to the OS on error. Windows error encoding is confused by negative return values.
2007-11-19 13:42:54 -05:00
Brad King
9b0df0d692
BUG: ParseFile should return false if there was a parse error.
2007-11-19 13:42:05 -05:00
Brad King
e9d99f13ec
STYLE: Nightly Date Stamp
2007-11-19 00:01:05 -05:00
Brad King
1dcb7074fe
STYLE: Nightly Date Stamp
2007-11-18 00:01:03 -05:00
Brad King
74ddd467ef
STYLE: Nightly Date Stamp
2007-11-17 00:01:05 -05:00
Clinton Stimpson
07e0e4a20e
ENH: Remove debug printf
2007-11-16 21:18:48 -05:00
David Cole
96bf9b372a
ENH: Add more conditions for attempting to call the new Visual Studio macros. Only try to call them if the vsmacros file exists and is registered. Count VS instances again after warning about running instances. If user closed them in response to the warning, it's OK to register the macros now rather than waiting till the next CMake generate.
2007-11-16 13:54:21 -05:00
Bill Hoffman
17e94192e6
ENH: add support for CDash bullseye coverage
2007-11-16 11:32:38 -05:00
Brad King
bb1fa4c3f0
BUG: Fix exception handling flag translation to be specific to each VS version. This allows /EHa to be handled correctly for VS 2003.
2007-11-16 11:01:23 -05:00
Clinton Stimpson
5cd4f2a661
ENH: more robust search filter.
2007-11-16 10:40:23 -05:00
David Cole
867de7fc67
ENH: Add ability to call Visual Studio macros from CMake. Add a CMake Visual Studio macro to reload a solution file automatically if CMake makes changes to .sln files or .vcproj files. Add code to call the macro automatically for any running Visual Studio instances with the .sln file open at the end of the Visual Studio Generate call. Only call the macro if some .sln or .vcproj file changed during Generate. Also, add handling for REG_EXPAND_SZ type to SystemTools::ReadRegistryValue - returned string has environment variable references expanded.
2007-11-16 07:01:58 -05:00
Brad King
0a001f1567
STYLE: Nightly Date Stamp
2007-11-16 00:01:02 -05:00
Brad King
9abbad8171
STYLE: Nightly Date Stamp
2007-11-15 00:01:03 -05:00
Clinton Stimpson
195e1035ab
COMP: Fix warning.
2007-11-14 23:30:05 -05:00
Brad King
0ea6a8d1a4
ENH: Simplified CMake version information using KWSys DateStamp feature. Reduced duplicate code in bootstrap script.
2007-11-14 21:17:53 -05:00
Brad King
fe7a472e35
daily version number
2007-11-14 00:01:02 -05:00
Andy Cedilnik
3cbfc4c914
STYLE: Nightly Version update
2007-11-13 23:13:18 -05:00
Alexander Neundorf
9520eff2bb
ENH: add completer for the source and binary dir lineedits
...
Clinton: do I actually have to create separate models for each completer,
and a separate completer for each widget, or could the models/completers be
used for multiple widgets ?
Alex
2007-11-13 16:25:38 -05:00
Clinton Stimpson
1d2b5ed440
ENH: single click can start editing cache values.
2007-11-13 12:53:10 -05:00
Clinton Stimpson
b31d4f9d17
BUG: The search is set to apply to all columns, but in Qt 4.2, that breaks
...
the search entirely. Search on the first column only when using Qt 4.2.
2007-11-13 11:18:40 -05:00
Clinton Stimpson
47c53e867f
ENH: support specifying build or source directory at command line.
2007-11-13 00:33:22 -05:00
Clinton Stimpson
073b109508
ENH: Allow clicking anywhere in field to toggle check boxes.
2007-11-13 00:17:10 -05:00
Brad King
05f4f0e3e6
daily version number
2007-11-13 00:01:03 -05:00
Clinton Stimpson
89e1512f23
STYLE: add license.
2007-11-12 23:59:25 -05:00
Clinton Stimpson
a81896eaed
ENH: Add ability to add cache entries (even before first configure).
2007-11-12 23:54:49 -05:00
Andy Cedilnik
45a8e26fe1
STYLE: Nightly Version update
2007-11-12 23:03:25 -05:00
Bill Hoffman
a2ff3928de
ENH: add f stuff to avoid warnings
2007-11-12 22:36:26 -05:00
Bill Hoffman
d9d40942a0
ENH: add guess progress for first time configuring a project.
2007-11-12 22:33:00 -05:00
Brad King
9dec5fbaf1
daily version number
2007-11-12 18:22:40 -05:00
Brad King
121b1db741
ENH: Created better names and a more convenient set of version date stamp macros.
2007-11-12 18:22:22 -05:00
Clinton Stimpson
fa5f983651
ENH: Fix layout with Qt 4.2.
...
BUG: Fix help comments to match what this GUI does.
2007-11-12 18:06:09 -05:00
Clinton Stimpson
b0ddb9c1b8
BUG: Fix prompt for changes if they haven't been saved.
2007-11-12 17:51:23 -05:00
Clinton Stimpson
fcc62c6d0d
BUG: Fix pause at shutdown.
...
ENH: Remove interrupt button and make configure/generate turn to stop during runs.
ENH: Add text to remove cache entry button.
2007-11-12 17:41:15 -05:00
Brad King
f97dddf0ee
BUG: Fixed typo in previous commit.
2007-11-12 17:38:15 -05:00
Brad King
f8a5d485a0
ENH: Adding DateStamp feature to KWSys. This provides a header file giving preprocessor access to a dated version. The 'datestamp' will be updated automatically every day by a script.
2007-11-12 17:34:14 -05:00
Brad King
a546ba7ed4
BUG: Fix messages for time stamp file recreation.
2007-11-12 16:58:05 -05:00
Brad King
ea2b389a17
BUG: Converted per-vcproj timestamp to a single directory-level CMakeFiles/generate.stamp file shared by all targets in each directory. This avoids having all targets overwrite each others timestamp check rules and instead has one single rule.
2007-11-12 15:42:37 -05:00
Clinton Stimpson
96e11b3f90
ENH: Allow build with Qt 4.2.
...
4.3 dependence fell out when errors go to output
window instead of message box blocking cmake thread.
2007-11-12 13:54:29 -05:00
Ken Martin
e4ac63fa72
BUG: better setup of properties for loaded commands
2007-11-12 12:04:36 -05:00
Andy Cedilnik
7bb9c3f955
STYLE: Nightly Version update
2007-11-11 23:05:55 -05:00
Andy Cedilnik
eb113eaff0
STYLE: Nightly Version update
2007-11-10 23:11:06 -05:00
Clinton Stimpson
5a539b731b
ENH: Re-arrange UI a bit.
...
BUG: Properly update when values that changed since the last configure.
2007-11-10 11:36:09 -05:00
Brad King
34c882a9f8
ENH: Allow VS 7 project Rebuild and Solution Rebuild to work without re-running CMake for every project during the rebuild.
2007-11-10 08:15:13 -05:00
Brad King
082fb6cc26
STYLE: Fixed line-too-long for undocumented variable entries.
2007-11-10 08:14:13 -05:00
Andy Cedilnik
7859d9332d
STYLE: Nightly Version update
2007-11-09 23:16:01 -05:00
Clinton Stimpson
57e46c74d4
BUG: Don't prompt for unsaved changes if no changes were made.
...
ENH: Error messages go to output window instead of message boxes.
2007-11-09 15:18:49 -05:00
Brad King
e5bb99e010
ENH: Removed dependency on Templates/CMakeWindowsSystemConfig.cmake which is no longer used. Also removed the file itself.
2007-11-09 15:08:56 -05:00
Brad King
f9322d188b
ENH: Converted vcproj file generation to use cmGeneratedFileStream for atomic replacement. Replaced the vcproj.cmake copy of the file with a simple vcproj.stamp timestamp file to preserve previous rerun-without-reload behavior.
2007-11-09 12:05:03 -05:00
Clinton Stimpson
c5b01a7daf
ENH: Add completion to editor for files and file paths.
2007-11-09 01:14:37 -05:00
Andy Cedilnik
38d15310a3
STYLE: Nightly Version update
2007-11-08 23:03:35 -05:00
Clinton Stimpson
3cd1d6e9e1
BUG: Don't enable generate if configure completed with errors.
...
ENH: Allow build w/ Qt configured with no STL support.
2007-11-08 16:47:00 -05:00
David Cole
af46642deb
ENH: Put black outline around all resolutions of the new ico files. Looks better on a dark background than the lighter outline...
2007-11-08 15:54:26 -05:00
Bill Hoffman
43c8923f14
BUG: try to fix crash
2007-11-08 13:03:37 -05:00
Clinton Stimpson
e615e1416c
COMP: Fix warnings.
2007-11-08 10:22:20 -05:00
Clinton Stimpson
9f676df3c6
ENH: add context menu for deleting, ignoring, and getting help for cache entries.
...
ENH: add delete cache button
ENH: add information string above configure/generate buttons
ENH: change search to search both columns, and from regex to plain string search
ENH: add buddy info in cache entry view, so double clicking in the left column
starts editing the associated value.
BUG: fix file path editor so it goes away when focus is lost
2007-11-08 10:17:37 -05:00
Andy Cedilnik
274a5e94ea
STYLE: Nightly Version update
2007-11-07 23:08:44 -05:00
Bill Hoffman
d639b8a5b8
ENH: allow for msvc71 to build for vista if CMAKE_MT_EXECUTABLE is put in the cache
2007-11-07 17:30:56 -05:00
Bill Hoffman
87c22309b8
ENH: change CPACK_CREATE_DESKTOP_LINKS to something that can handle spaces in the name of the exectuable
2007-11-07 13:11:58 -05:00
Clinton Stimpson
c05f8aa70e
ENH: remove status bar and move interrupt/progress next to configure/generate.
2007-11-07 11:31:55 -05:00
Clinton Stimpson
31d4280bf3
BUG: Fix behavior of CMakeSetupDialog::set{Binary|Source}Directory
...
so they work right when called externally.
Disable the generate button when one hits configure again.
ENH: Some UI tweaks for spacing.
Allow viewing cache values while configure/generate (but not edit).
2007-11-07 10:09:02 -05:00
Brad King
696a016444
COMP: Fix check for file-too-big to avoid warnings.
2007-11-07 09:12:34 -05:00
Brad King
8b9dcc9e1a
COMP: Fix warning when gcount stream method does not really return std::streamsize.
2007-11-07 08:59:29 -05:00
Clinton Stimpson
00cfa0ebed
ENH: For Mac OSX -- add app icon, and implement find of cmake executable.
2007-11-06 23:00:23 -05:00
Andy Cedilnik
768680f4d5
STYLE: Nightly Version update
2007-11-06 22:55:39 -05:00
Clinton Stimpson
a2ad68fc48
BUG: disable drag & drop while busy.
2007-11-06 22:27:09 -05:00
Clinton Stimpson
07d25b6a5f
BUG: only handle drop events if they'll really change something.
2007-11-06 21:51:08 -05:00