Commit Graph

7695 Commits

Author SHA1 Message Date
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
Clinton Stimpson 7294b27293 BUG: Put back read/write of original WhereBuild* settings.
ENH:  Make public a couple functions to support command line args.
      Try removing exit after generate to see if others like it.
COMP:  Fix warnings.
2007-11-06 21:27:45 -05:00
Clinton Stimpson 1e91100599 ENH: Disable menu/buttons when doing configure.
Also disable generate until configure is done.
      Save more settings (last 10 binary directories, exit after generate,
                          last generator)
      Some UI tweaks for better layout.
      Support drag & drop of CMakeLists.txt/CMakeCache.txt files.
2007-11-06 19:25:43 -05:00
Ken Martin 433a914910 ENH: different way of testing properties 2007-11-06 14:16:00 -05:00
Ken Martin 8eae7fddf2 ENH: move CMAKE_STRICT option to the top 2007-11-06 14:14:18 -05:00
Bill Hoffman 33478faeb6 ENH: changne ProcessGenertor to DoPackage 2007-11-06 08:28:26 -05:00
Bill Hoffman cfd308ce43 STYLE: fix line length issue 2007-11-06 08:27:43 -05:00
Clinton Stimpson e8a208384c ENH: Add menus in menu bar.
Add reload & delete cache options.
      Add option to quit after generation step (not yet remembered between sessions).
      Add Help -> About
      Remove Help button (in menu now)
      Remove Cancel button (File -> Exit and the Window 'X' button exist)
2007-11-06 01:16:11 -05:00
Clinton Stimpson 87e1004f25 ENH: clarify label for current generator. 2007-11-06 00:04:37 -05:00
Clinton Stimpson b61e5ff0f2 ENH: search is case insensitive
ENH:  put back prompt for generator, and change combo to label
      showing current generator.
2007-11-06 00:02:08 -05:00
Andy Cedilnik d0a7608bb1 STYLE: Nightly Version update 2007-11-05 22:32:45 -05:00
Clinton Stimpson a7746624e8 ENH: Replace prompt for generator with combobox in UI.
ENH:  Make "Show Advanced" toggle work.
ENH:  Add regex search capabilities.
ENH:  Read existing registry entries from MFC CMakeSetup.exe (will save later).
2007-11-05 19:26:18 -05:00
Brad King d65adbe260 COMP: Add streamsize and streamoff to kwsys_ios namespace for ancient streams. 2007-11-05 17:44:30 -05:00
Bill Hoffman 743cec67d5 ENH: change name 2007-11-05 16:55:45 -05:00
Bill Hoffman 62decc533b ENH: change name of class 2007-11-05 16:33:19 -05:00
Bill Hoffman a651938572 ENH: fix the compile and add install rule 2007-11-05 14:47:20 -05:00
Brad King f410f8578e COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697. 2007-11-05 14:34:36 -05:00
Clinton Stimpson cfa723d457 ENH: Prompt user for generator when there is none.
Many minor improvements, bug fixes, and style fixes.
2007-11-05 13:20:54 -05:00
Andy Cedilnik 7bd73d3e0d STYLE: Nightly Version update 2007-11-04 22:00:40 -05:00
Andy Cedilnik f70eb07d99 STYLE: Nightly Version update 2007-11-03 23:04:09 -04:00
Clinton Stimpson 8770969464 ENH: Allow working with empty build directories.
Make output window a bit smaller compared to cache view.
      Prompt on X'ing window as well as hitting cancel.
      Color new cache values red, and put them first.
2007-11-03 19:48:59 -04:00
Clinton Stimpson 3135561227 COMP: Fix some compile warnings.
STYLE: Make style a bit more consistent.
2007-11-03 13:28:09 -04:00
Bill Hoffman c27953b62f ENH: remove qt warnings from qt with MS compiler 2007-11-03 12:50:02 -04:00
Bill Hoffman efbce2580b ENH: fix compile error on windows 2007-11-03 12:07:38 -04:00
Clinton Stimpson 77ad85a6ab ENH: Add interrupt button near progress bar.
Implement help button.
      Implement cancel button.
      Add scrollable output window.
      Replace ON/OFF & combobox editors with checkboxes.
      Tab/backtab in cache table jumps between values (not names and values)
      Add tooltips to show help strings.
      Add application icon and qtmain for Windows.

BUG:  Fix save of cache values on configure.
2007-11-03 10:30:52 -04:00
Andy Cedilnik c139a096c7 STYLE: Nightly Version update 2007-11-02 23:00:21 -04:00
Clinton Stimpson 5927a261d0 COMP: Fix build on Windows. 2007-11-02 14:12:54 -04:00
Bill Hoffman 8079907714 ENH: add option for qt dialog 2007-11-02 12:03:29 -04:00
Clinton Stimpson 6921981452 STYLE: Add license info to code. 2007-11-02 11:55:57 -04:00
Clinton Stimpson 800cbd0550 ENH: Beginnings of a Qt UI for CMake. 2007-11-02 11:50:17 -04:00
Andy Cedilnik 676320f161 STYLE: Nightly Version update 2007-11-01 22:50:39 -04:00
Bill Hoffman 7d6fa1c0e9 ENH: create a directory for qt interface to cmake 2007-11-01 16:21:57 -04:00
David Cole 9371ac21a0 ENH: Add more resolutions for CMake icons to avoid that bloated chunky blown up icon look... 2007-11-01 08:36:51 -04:00
Andy Cedilnik 158d9e2e68 STYLE: Nightly Version update 2007-10-31 22:48:26 -04:00
Ken Martin 379e65de57 ENH: minor fix 2007-10-31 13:57:51 -04:00
Ken Martin 9ddb45f085 ENH: added documentation for more variables 2007-10-31 13:38:47 -04:00
Bill Hoffman e65c40f94a ENH: add CPACK_PROJECT_CONFIG_FILE option to CPack 2007-10-31 12:55:04 -04:00
Bill Hoffman 771997c556 ENH: fix line length 2007-10-31 09:03:40 -04:00
David Cole 5beb1da7f7 ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files in absolute locations. With this setting on, cpack will set the DESTDIR env var when building the package so that files end up in their intended locations. Default behavior is not to set DESTDIR for backwards compatibility. Helps address issue #4993 and issue #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the CPack GetPackagingInstallPrefix from a project's CMakeLists file if necessary. Could be used to remove the annoying /usr prefix still used by default in the Mac PackageMaker generator. 2007-10-31 08:50:17 -04:00
Andy Cedilnik 0386e711b8 STYLE: Nightly Version update 2007-10-30 23:04:35 -04:00
Bill Hoffman eb14543939 ENH: cpack changes, remove the escape variable stuff as it is not needed if you provide a config file for cpack 2007-10-30 23:02:43 -04:00
Ken Martin 9bd0d0f1ed BUG: fix undefined property FRAMEWORK 2007-10-30 11:03:16 -04:00