Commit Graph

8608 Commits

Author SHA1 Message Date
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
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
Ken Martin 29c9f1bc2b BUG: fix bad set property code in cmake 2007-10-30 10:57:09 -04:00
Andy Cedilnik c516724393 STYLE: Nightly Version update 2007-10-29 22:58:41 -04:00
Bill Hoffman 1904b3f86e ENH: move list command to bootstrap commands 2007-10-29 12:21:05 -04:00
Bill Hoffman 02f79c7242 ENH: add ability to set installer icons, links to web pages, nsis code in the icon section of the template, and ability to escape variables correctly 2007-10-29 08:11:44 -04:00
Andy Cedilnik 37bd33ecea STYLE: Nightly Version update 2007-10-28 22:58:53 -04:00
Andy Cedilnik c2274dccdc STYLE: Nightly Version update 2007-10-27 23:05:50 -04:00
Andy Cedilnik ff5271760e STYLE: Nightly Version update 2007-10-26 23:11:13 -04:00
Alexander Neundorf e22f6b7f05 STYLE: change wording of FIND_XXX() docs to be more correct
Alex
2007-10-26 13:36:46 -04:00
Sean McBride 0b4c9cb86c STYLE: fixed misspellings of Mac OS X 2007-10-26 12:13:01 -04:00
Alexander Neundorf 0398d8ad38 ENH: add support for CMAKE_FIND_PREFIX_PATH as discussed with Brad.
CMAKE_FIND_PREFIX_PATH is both an environment variable and a cmake variable,
which is a list of base directories where FIND_PATH, FIND_FILE, FIND_PROGRAM
and FIND_LIBRARY will search in the respective subdirectories

Alex
2007-10-26 09:55:40 -04:00
Andy Cedilnik 480b97a8e2 STYLE: Nightly Version update 2007-10-25 22:53:11 -04:00
Brad King c4ffd00711 BUG: Fix bug#5590. When converting a relative path between two full paths on different windows drive letters do not create a ../../d:/foo/bar path and just return the full path to the destination. 2007-10-25 13:29:47 -04:00
Alexander Neundorf 2d1bcf806f BUG: rename DEBIAN_PACKAGE_* variables to CPACK_DEBIAN_PACKAGE_* variables
to make them actually work

Alex
2007-10-25 13:26:54 -04:00
Andy Cedilnik fec600550e STYLE: Nightly Version update 2007-10-24 23:20:39 -04:00
Ken Martin f72d666a7b ENH: add ability to get documentaiton of a property from a script 2007-10-24 14:43:10 -04:00
Ken Martin c2f0aac146 ENH: some more cleanup, fixes, and patch for HTML output 2007-10-24 11:36:47 -04:00
Andy Cedilnik 328615716c STYLE: Nightly Version update 2007-10-23 23:07:43 -04:00
Ken Martin 923b51ece0 COMP: fix for when STRICT is defined, and fix for props that have no docs 2007-10-23 10:40:49 -04:00
Ken Martin 712758dfc3 STYLE: fix some long lines 2007-10-23 10:08:26 -04:00
Ken Martin 8b76142f00 COMP: fix a problem with a shadowed var 2007-10-23 10:07:40 -04:00
Andy Cedilnik 5c8401f72e STYLE: Nightly Version update 2007-10-22 23:10:52 -04:00
Ken Martin b6f1cb4edf COMP: fix some warnings and add some doc strings back in 2007-10-22 16:41:15 -04:00
Ken Martin 44cce51a1a COMP: fix some warnings and add some doc strings back in 2007-10-22 15:33:19 -04:00
Bill Hoffman 5765fbbb88 ENH: fix spelling error 2007-10-22 14:01:49 -04:00
Ken Martin cc6f53b61f ENH: change to make the documentation class more generic, about halfway there, also provides secitons for Variables now 2007-10-22 13:28:49 -04:00
Ken Martin 6cdf032505 ENH: change to make the documentation class more generic, about halfway there, also provides secitons for Variables now 2007-10-22 12:49:09 -04:00
Andy Cedilnik 98a48314c7 STYLE: Nightly Version update 2007-10-21 23:39:26 -04:00
Andy Cedilnik b06f9980e8 STYLE: Nightly Version update 2007-10-20 23:04:48 -04:00
Andy Cedilnik b6826affe8 STYLE: Nightly Version update 2007-10-19 23:03:58 -04:00
Bill Hoffman 613c35e033 ENH: do not always add -arch flags 2007-10-19 22:24:00 -04:00
Bill Hoffman 4168c0797b ENH: fix line length error 2007-10-19 12:03:16 -04:00
Andy Cedilnik 64c124be23 STYLE: Nightly Version update 2007-10-18 22:59:57 -04:00
Bill Hoffman 3e03bca2cd ENH: add ability to create links on the start menu 2007-10-18 09:40:10 -04:00
Bill Hoffman 0fc4d10e38 ENH: do not remove executables and dll's before linking them so that incremental links work, incremental links are still broken for vs 2005 and greater because of the manifest stuff 2007-10-18 09:38:34 -04:00
Bill Hoffman 5c4eadba23 ENH: add docs for variables 2007-10-18 09:10:42 -04:00
Andy Cedilnik 83a3d37ff6 STYLE: Nightly Version update 2007-10-17 22:55:05 -04:00
Andy Cedilnik 15ff54bc8b STYLE: Nightly Version update 2007-10-16 22:51:25 -04:00
Ken Martin 236d1ebf56 ENH: added CMAKE_STRICT option for var and property checking 2007-10-16 14:28:37 -04:00
Brad King 1de1f4bb83 STYLE: Fixed line-too-long. 2007-10-16 10:20:59 -04:00
Andy Cedilnik fb4905aa62 STYLE: Nightly Version update 2007-10-15 22:43:54 -04:00
Brad King 583aff2577 BUG: Work around bug when calling insert on an empty vector of char on midworld. Should eliminate the sporadic failure of EXECUTE_PROCESS during the SimpleInstall-Stage2 test. (david.cole from Brad's checkout on midworld) 2007-10-15 17:38:10 -04:00
Ken Martin b63ff2fb6f ENH: minor doc cleanups and an example of documenting a variable 2007-10-15 14:50:18 -04:00
David Cole c8e832dcf5 BUG: Fix #5868 - add COMPONENT handling to the SCRIPT and CODE signatures of the INSTALL command. 2007-10-15 07:08:15 -04:00
Andy Cedilnik fa513be657 STYLE: Nightly Version update 2007-10-14 22:40:48 -04:00
Alexander Neundorf ae06467866 BUG: fix #5806, wrong quotes used in the exported file
Alex
2007-10-14 08:15:22 -04:00
Andy Cedilnik eec2b7a2cb STYLE: Nightly Version update 2007-10-13 22:48:52 -04:00
Andy Cedilnik 7009e0745e STYLE: Nightly Version update 2007-10-12 22:45:37 -04:00
David Cole 2458b07464 BUG: Fix the dashboards! Put it back the way it was so it always creates the target directory at configure time. Figure out how to avoid it for the framework case on the Mac/Xcode later... 2007-10-12 11:43:50 -04:00
Bill Hoffman 79d9041d81 BUG: fix for bug 0003618 , allow one arch in OSX_ARCHS to work 2007-10-12 10:58:59 -04:00
Bill Hoffman 22fca8aa12 BUG: fix for bug 0005767 hang for replace string with empty 2007-10-12 09:58:17 -04:00
Brad King 48762a51dd ENH: When an object file requires a module add the file-level dependency between the object file and the module timestamp file. Create a dummy timestamp file in case nothing in the project actually creates the module. See bug#5809. 2007-10-12 09:51:28 -04:00
Brad King 9f1eea193e BUG: Dependency scanners should have local generators set always. 2007-10-12 09:32:48 -04:00
Andy Cedilnik 7fb4397f3c STYLE: Nightly Version update 2007-10-11 22:45:12 -04:00
Andy Cedilnik 0bd06d61b1 STYLE: Nightly Version update 2007-10-10 22:32:01 -04:00
Ken Martin 8d32d229a3 ENH: make commands lower case by default 2007-10-10 11:47:43 -04:00
David Cole 8e4c7b99e1 ENH: Finish up the Framework creation code restructuring. Frameworks build and install now. More work needed on the packaging step. See Tests/Framework for example use. 2007-10-10 11:06:15 -04:00
Brad King ea56464864 BUG: Fix in-interface mode. Patch from Maik Beckmann. See bug#5809. 2007-10-10 09:07:10 -04:00
Andy Cedilnik bacc31a4aa STYLE: Nightly Version update 2007-10-09 22:36:44 -04:00
Sebastien Barre 4e54f93501 ENH: bad bug bad 2007-10-09 15:20:30 -04:00
Ken Martin 35e13b11f3 BUG: revert doc changes since VS7 cannot compile them, will implement them in a different manner 2007-10-09 14:35:25 -04:00
Ken Martin 18ce24c748 ENH: make documentation entries actually store their data 2007-10-09 09:55:42 -04:00
Andy Cedilnik b02cbf5fad STYLE: Nightly Version update 2007-10-08 22:39:45 -04:00
Brad King e684c35295 STYLE: Fixed line-too-long. 2007-10-08 10:05:42 -04:00
Brad King 5df777edd7 COMP: Added inadvertantly removed include. 2007-10-08 10:03:37 -04:00
Andy Cedilnik 999208dbd2 STYLE: Nightly Version update 2007-10-07 22:35:48 -04:00
Brad King 71400cad02 COMP: Simplified include file logic. The windows.h header should be included for all compilers on windows. 2007-10-07 16:22:16 -04:00
Andy Cedilnik bdc1de21d1 STYLE: Nightly Version update 2007-10-06 22:42:35 -04:00
Andy Cedilnik 67398e26d2 STYLE: Nightly Version update 2007-10-05 22:31:12 -04:00
Ken Martin adffd10cce COMP: fix to compile on VS 8 2007-10-05 15:51:01 -04:00
Brad King 23c6b90080 BUG: Fix call to SetFileTime to set it on the proper file. 2007-10-05 10:03:16 -04:00
Brad King 89dc3b0753 COMP: Disable some warnings in generated code. Disable compilation of unused goto block. 2007-10-05 10:02:34 -04:00
Brad King a2b2742543 ENH: During file installation treat the source file as a dependency of the installed file. Install the file only if the destination is older than the source. Set the file times on the installed file to match those of the source file. This should greatly improve the speed of repeated installations because it removes the comparison of file contents. This addresses bug#3349. 2007-10-05 09:46:28 -04:00
Andy Cedilnik b5ca9ba3c8 STYLE: Nightly Version update 2007-10-04 22:43:06 -04:00
Bill Hoffman 056f10bf0d ENH: update .y file with borland fix, and use a table based strcasecmp 2007-10-04 15:31:03 -04:00
David Cole e6912431c8 COMP: Get it to compile on Borland 5.5, too. Including stl headers here does not work, because with Borland 5.5 stl headers pull in windef.h which typedefs WORD which is in the fortran tokens list... 2007-10-04 14:47:11 -04:00
Brad King a655372568 STYLE: Removed reference to my home directory from #line calls. 2007-10-04 09:49:13 -04:00
Andy Cedilnik e39af490f2 STYLE: Nightly Version update 2007-10-03 22:36:26 -04:00
Brad King d06c2eed9a COMP: Do not use non-portable strcasecmp. 2007-10-03 17:01:49 -04:00
Brad King 394077ac5c BUG: When requiring a module through a .proxy rule add an empty .proxy rule in case no other source in the target provides it. Since it is not a file-level dependency there does not need to be a rule to create the .proxy as a file. This addresses bug#3984. 2007-10-03 16:19:19 -04:00
Brad King f8caab4613 BUG: Fix for bug#5809. Applied patch supplied in the bug report. Updated pre-generated lexer and parser sources. This updates the makedepf90 version to 2.8.8. The parser actions have been updated to ignore "use" in comments properly. 2007-10-03 15:41:39 -04:00
Brad King 00c33e7e8f ENH: Updated CMAKE_REGENERATE_YACCLEX option to support cmDependsFortran. Fixed to work with spaces in path. 2007-10-03 15:23:54 -04:00
Andy Cedilnik 87bf9f1490 STYLE: Nightly Version update 2007-10-02 22:27:24 -04:00
Bill Hoffman e0899bcaf2 ENH: speed up actual path name by cache on windows 2007-10-02 15:48:21 -04:00
Andy Cedilnik 019a0989d5 STYLE: Nightly Version update 2007-10-01 22:31:04 -04:00
Andy Cedilnik e6d45a2cf5 STYLE: Nightly Version update 2007-09-30 22:28:06 -04:00
Andy Cedilnik 4cd4c86845 STYLE: Nightly Version update 2007-09-29 22:36:19 -04:00
Andy Cedilnik 65f79a6901 STYLE: Nightly Version update 2007-09-28 22:49:30 -04:00
Andy Cedilnik be7dc2f8c7 STYLE: Nightly Version update 2007-09-27 23:02:31 -04:00
Bill Hoffman 887699184a COMP: remove warnings 2007-09-27 14:44:11 -04:00
Bill Hoffman 27f8666565 ENH: remove junk from output 2007-09-27 14:16:20 -04:00
Andy Cedilnik 1d5dcf7425 STYLE: Nightly Version update 2007-09-26 22:59:47 -04:00
Andy Cedilnik 62928658a0 STYLE: Nightly Version update 2007-09-25 23:06:56 -04:00
Bill Hoffman e9889442cf ENH: more generic search for visual studio installations 2007-09-25 11:01:36 -04:00
Bill Hoffman 9c3ffe2474 BUG: fix problem with stdout and stderr not showing up in ms dos shells 2007-09-25 10:57:49 -04:00
Andy Cedilnik b0d9d2eedf STYLE: Nightly Version update 2007-09-24 23:13:29 -04:00
Bill Hoffman 150805258a ENH: add new machines 2007-09-24 13:21:25 -04:00
Bill Hoffman 9a2dbdc1f1 COMP: fix warnings on hp 2007-09-24 11:16:13 -04:00
Bill Hoffman 5059adb5ff ENH: fix line length issues 2007-09-24 11:10:55 -04:00
Andy Cedilnik 769af64d7f STYLE: Nightly Version update 2007-09-23 23:09:03 -04:00
Andy Cedilnik 8b4eff4ba8 STYLE: Nightly Version update 2007-09-22 22:47:02 -04:00
Andy Cedilnik 5c666c7e4a STYLE: Nightly Version update 2007-09-21 22:46:07 -04:00
Alexander Neundorf d5b135e6b5 STYLE: use %-10lld instead of %-10qd for printing a 64bit int, maybe this
silences the warning of the HP compiler

Alex
2007-09-21 13:37:30 -04:00
Alexander Neundorf 53d9d84f6b STYLE: improved error message for the case that neither FindFoo.cmake nor
FooConfig.cmake were found

Alex
2007-09-21 11:42:40 -04:00
Andy Cedilnik 172d36cfed STYLE: Nightly Version update 2007-09-20 22:44:15 -04:00
Bill Hoffman e94473037e COMP: remove warning on new HPUX compiler 2007-09-20 11:57:25 -04:00
Bill Hoffman 0c205dfcc8 BUG: fix to work with cmake 2.2 2007-09-20 11:27:42 -04:00
Alexander Neundorf f2bb57684f COMP: TIOCGWINSZ and struct winsize also doesn't exist on Cray Catamount
Alex
2007-09-20 09:36:30 -04:00
Alexander Neundorf 6b45ec0326 COMP: make SystemTools.cxx build on Cray Xt3
Alex
2007-09-20 09:30:41 -04:00
Alexander Neundorf 40fa85883c STYLE: fix line lengths
Alex
2007-09-20 08:33:07 -04:00
Andy Cedilnik 2d979a87ba STYLE: Nightly Version update 2007-09-19 22:33:12 -04:00
David Cole 0502c8502a COMP: Only use the VERBATIM flag for non-Visual Studio builds being configured by CMake 2.4.5 or later. 2007-09-19 13:51:23 -04:00
Alexander Neundorf 31881265c7 ENH: add new help option --help-custom-modules, which generates
documentation for all modules found in CMAKE_MODULE_PATH, which currently
has to be specified via -D, this can later on be improved e.g. by reading a
special (to-be-created) file like CMakeFiles/ModulePath.cmake in the build
tree so that running cmake help in the build tree of a project will always
give you the current module path. (This could actually also help IDEs which
would like to support cmake for projects...)

Alex
2007-09-19 13:14:25 -04:00
Bill Hoffman 797db515a0 ENH: fix failing test when valgrind is on 2007-09-19 11:16:57 -04:00
Alexander Neundorf a347abe269 COMP: fix warning about unused parameters
Alex
2007-09-19 10:46:37 -04:00
Alexander Neundorf cfdaa4b0b3 BUG: correct name for the man page
Alex
2007-09-19 09:59:34 -04:00
Alexander Neundorf c5f249bdbd STYLE: move the code for the different formats of the generated help into
their own classes, making cmDocumentation smaller and also making it easier
to eventually add another format

Alex
2007-09-19 09:05:28 -04:00
Andy Cedilnik 83363e5dfe STYLE: Nightly Version update 2007-09-18 22:43:49 -04:00
Alexander Neundorf e07cf9adc4 STYLE: fix line lengths
Alex
2007-09-18 17:05:45 -04:00
Bill Hoffman 0eba9b638f ENH: allow for desktop link to be created and fix chop of last char in PATH on uninstall 2007-09-18 15:16:21 -04:00
Bill Hoffman cc1f1014e3 ENH: allow test properties to set a timeout that is longer than the default timeout, but not longer than CTEST_TIME_LIMIT for a script 2007-09-18 11:34:53 -04:00
Alexander Neundorf 4cb2240576 ENH: use the oubject_output option to try to tell CodeBlocks where the
object files are located (to make "compile file" work). Doesn't work yet,
but at least the .objs/ is now removed from the path.

Alex
2007-09-18 09:54:42 -04:00
Andy Cedilnik 485af41bf7 STYLE: Nightly Version update 2007-09-17 22:38:34 -04:00
Bill Hoffman 96235da3b4 ENH: make mt command work with gmake 2007-09-17 16:10:08 -04:00
Bill Hoffman 0e14877e2a ENH: fix for vs 8 2007-09-17 15:59:50 -04:00
Alexander Neundorf 4ee1ee1bd0 ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt)
Alex
2007-09-17 15:55:17 -04:00
Bill Hoffman 9cbb998737 ENH: add support for vs 2008 beta 2 2007-09-17 15:21:47 -04:00
Bill Hoffman c190756e24 ENH: fix warning 2007-09-17 11:17:38 -04:00
Alexander Neundorf ed6d98c37c STYLE: copy the executables from TRY_RUN() to
${CMAKE_BINARY_DIR}/CMakeFiles/ instead to ${CMAKE_BINARY_DIR}

Alex
2007-09-17 10:53:20 -04:00
Brad King d7a5d4c191 ENH: Added IMPLICIT_DEPENDS option to ADD_CUSTOM_COMMAND. It currently works only for Makefile generators. It allows a custom command to have implicit dependencies in the form of C or CXX sources. 2007-09-17 10:50:46 -04:00
Bill Hoffman 267fd538d8 ENH: fix build issue with config type not being specified by ctest 2007-09-17 10:40:57 -04:00
Andy Cedilnik 5c48eab7a8 STYLE: Nightly Version update 2007-09-16 22:46:24 -04:00
Andy Cedilnik c40da99332 STYLE: Nightly Version update 2007-09-15 22:58:09 -04:00
Andy Cedilnik 946bfc2405 STYLE: Nightly Version update 2007-09-14 22:59:52 -04:00
Andy Cedilnik deb5f857df STYLE: Nightly Version update 2007-09-13 22:53:11 -04:00
Brad King 9f542f4ef7 ENH: Added OBJECT_OUTPUTS source file property. Updated PrecompiledHeader test to use it (making the test simpler). 2007-09-13 13:37:45 -04:00
Brad King 782c5c270f COMP: Fix shadowed local warning by scoping the previous decl properly. 2007-09-13 09:14:46 -04:00
Andy Cedilnik 68ee26aa35 STYLE: Nightly Version update 2007-09-12 22:54:45 -04:00
Andy Cedilnik 8ca7e2f1b2 STYLE: Nightly Version update 2007-09-11 22:49:11 -04:00
David Cole a54169789d ENH: Avoid prompting for admin privileges when running CMakeSetup.exe on Vista by adding a requestedExecutionLevel element to its manifest. 2007-09-11 15:21:37 -04:00
Bill Hoffman 1f99030cfa ENH: for build and test default the config type to the one that ctest was built with, it is good for the current ctest setup, and other projects can always specify a value on the command line 2007-09-11 14:43:17 -04:00
Bill Hoffman 66a094a9eb ENH: opps 2007-09-11 12:23:59 -04:00
Bill Hoffman f262298bb0 ENH: fix 2 ctest issues, do not use the build type of ctest to look for config types, do not inherit pipes in child procs for ctest so it can kill them 2007-09-11 11:21:36 -04:00
Bill Hoffman 4835f8303b ENH: improve docs 2007-09-11 10:01:40 -04:00
Andy Cedilnik eac03d948a STYLE: Nightly Version update 2007-09-10 22:50:20 -04:00
Brad King f2ac53bb10 ENH: Added XCODE_ATTRIBUTE_<an-attribute> property to allow direct setting of Xcode target attributes in generated projects. For example, one may set the prefix header property and the corresponding precompiled option to do precompiled headers. 2007-09-10 10:22:19 -04:00
Andy Cedilnik 5dade94eec STYLE: Nightly Version update 2007-09-09 23:03:58 -04:00
Andy Cedilnik 1a132532c7 STYLE: Nightly Version update 2007-09-08 23:09:47 -04:00
Andy Cedilnik 35342ff8ff STYLE: Nightly Version update 2007-09-07 22:49:53 -04:00
Bill Hoffman 30ad13be94 ENH: fix spelling error 2007-09-07 11:10:46 -04:00
Andy Cedilnik 10e297382d STYLE: Nightly Version update 2007-09-06 22:57:26 -04:00
Andy Cedilnik e3cb687e85 STYLE: Nightly Version update 2007-09-05 23:01:52 -04:00
Zack Galbreath 9fea97e44c ENH: removing temporary testing file 2007-09-04 11:45:18 -04:00
Zack Galbreath d3bbe3e21b ENH: testing branchRestrict 2007-09-04 11:05:12 -04:00
Alexander Neundorf a4fb93599f STYLE: fix line lengths
Alex
2007-08-31 16:52:32 -04:00
Alexander Neundorf b7527db958 STYLE: the temporary variable is not necessary
Alex
2007-08-31 13:45:02 -04:00
Alexander Neundorf d338e69c01 ENH: add support for Fortran to the KDevelop generator
-minor optimization for GetLanguageEnabled()

Alex
2007-08-31 13:42:21 -04:00
Brad King 20455c699b BUG: Another space-in-path fix. 2007-08-31 09:14:43 -04:00
Brad King 54a470dd03 BUG: Fix path to CMake executables when run from bootstrap build. 2007-08-31 09:09:41 -04:00
Alexander Neundorf 34e3ce9e4e STYLE: rename FILENAME keyword to FILE, because FILENAME is used in no other
place

Alex
2007-08-30 16:22:01 -04:00
Alexander Neundorf ae94a76b24 STYLE: "Build file" still doesn't work, but now it is at least a bit closer,
it needs some more support from CB

Alex
2007-08-30 11:36:44 -04:00
Alexander Neundorf 291b3d0543 STYLE: add the | to the docs
Alex
2007-08-30 10:26:01 -04:00
Alexander Neundorf e47fbcb9a8 BUG: work if there are spaces in the path to cmake
Alex
2007-08-29 16:32:20 -04:00
Alexander Neundorf c8276401c6 BUG: make paths with spaces work in CodeBlocks
-gcc is always gcc and not mingw

Alex
2007-08-29 15:19:15 -04:00
Alexander Neundorf 69e9848fb4 BUG: this seems to fix the regexp result-storage problem, now it seems the actual result is tored instead of "1" , as it happened for StringFileTest on Windows
Alex
2007-08-29 14:35:06 -04:00
Alexander Neundorf a4e6bd1515 STYLE: add docs about the supported regexp characters and CMAKE_MATCH_(0..9)
Alex
2007-08-29 14:05:46 -04:00
Alexander Neundorf e80acd971c ENH: also store the group matches from IF( MATCHES) in CMAKE_MATCH_(0..9)
Alex
2007-08-29 11:58:38 -04:00
Brad King fb43c64476 BUG: Do not write symbolic make dependencies into depends.internal. 2007-08-29 11:30:53 -04:00
Alexander Neundorf a392c7b5b1 ENH: don't hardcode gcc
-put the include dirs in the project file to enable autocompletion
-prepare for nmake

Alex
2007-08-29 10:12:09 -04:00
Alexander Neundorf fc9f19b202 COMP: explicitely cast to int to silence warning with msvc8
Alex
2007-08-28 16:27:10 -04:00
Alexander Neundorf c3b42e90ed ENH: add flag so a terminating slash for the link path can be specified (needed by the Digital Mars D compiler)
Alex
2007-08-28 16:19:01 -04:00
Alexander Neundorf 172821eb38 STYLE: add links to docs
Alex
2007-08-28 15:13:01 -04:00
Alexander Neundorf 3daac0432c STYLE: fix typo
Alex
2007-08-28 13:46:57 -04:00
Andy Cedilnik b2ad9f1044 STYLE: Nightly Version update 2007-08-27 23:12:52 -04:00
Alexander Neundorf 94f0eca689 BUG: fix #5326: source files with the same name in different groups lead to colliding object file names
Alex
2007-08-27 17:05:43 -04:00
Alexander Neundorf 3e12a6cb91 ENH: add install files generators for targets which have PUBLIC_HEADER,
PRIVATE_HEADER or RESOURCE_FILES property, use the destination for the
public headers as include directory property for exported libraries

Alex
2007-08-27 16:04:57 -04:00
Alexander Neundorf 5bd9f5811d COMP: disable nmake support until somebody tests it
Alex
2007-08-27 13:23:37 -04:00
Alexander Neundorf c41f798383 COMP: make it build on NetBSD, which has separate curses and ncurses, so
it has to be detected that curses isn't good enough, but ncurses is, and
that ncurses.h instead of curses.h is included

Alex
2007-08-27 09:01:14 -04:00
Alexander Neundorf a764593f1d COMP: remove unused variable
Alex
2007-08-27 08:49:41 -04:00
Andy Cedilnik 6d99c5af25 STYLE: Nightly Version update 2007-08-26 23:20:00 -04:00
Alexander Neundorf e5dc217f4e ENH: add all subdirs of the project to the kdevelop blacklist, so kdevelop
doesn't watch these dirs for added or remved files everytime it is started

Alex
2007-08-26 19:27:33 -04:00
Alexander Neundorf f55dd81190 COMP: parent is not used anymore with this patch, since now the name is
given as a vector of components

Alex
2007-08-26 03:17:11 -04:00
Andy Cedilnik 831185510e STYLE: Nightly Version update 2007-08-25 23:37:28 -04:00
Andy Cedilnik 01e62d2c70 STYLE: Nightly Version update 2007-08-24 23:15:17 -04:00
Alexander Neundorf 938ed7710a STYLE: fix MSVC warnings by making the cmCommandArgumentsHelper a member of
cmInstallCommandArguments instead of deriving from it

Alex
2007-08-24 14:27:18 -04:00
Alexander Neundorf 9220e97401 BUG: fix #4057 (which had several duplicates): handle recursivew source groups better, i.e. multiple sourcegroups with the same end component work now
Alex
2007-08-24 14:21:49 -04:00
David Cole 9a4e7ea742 ENH: Add InstallNameFixupPath to support installing built frameworks on the Mac. Change Application to Applications in the BundleTest. Also correct small typo (tcl->Tcl) noted in bug 4572. 2007-08-24 13:30:41 -04:00
Alexander Neundorf 6d508a3094 BUG: handle source_group names which consist only of the delimiter the same was as empty source group names
Alex
2007-08-24 10:58:53 -04:00
Alexander Neundorf d634c4e743 ENH: use cmCommandArgumentHelper for INSTALL(TARGETS, FILES, PROGRAMS,
EXPORTS), saves a lot of code. INSTALL(DIRECTORY) is still done the old way,
since this seems to be quite complicated
-for INSTALL(TARGETS ): also parse PUBLIC_HEADER, PRIVATE_HEADER, RESOURCE

Alex
2007-08-24 08:55:20 -04:00
Andy Cedilnik 091d1ccbb9 STYLE: Nightly Version update 2007-08-23 23:21:22 -04:00
Alexander Neundorf be2705deaa ENH: class for parsing the arguments for INSTALL()
Alex
2007-08-23 16:14:18 -04:00
Alexander Neundorf 2120ce4fcd ENH: add support for a default value, fix case when there is no item except
the own group

Alex
2007-08-23 16:13:15 -04:00
Andy Cedilnik c6e937ca53 STYLE: Nightly Version update 2007-08-22 23:17:00 -04:00
David Cole ef22ad6bec ENH: Handle FRAMEWORK and BUNDLE arguments in the INSTALL TARGETS command. Work in progress... More to come. 2007-08-22 11:32:48 -04:00
Alexander Neundorf a43976e91d BUG: if there is no match, don't construct the stl string from a NULL
pointer

Alex
2007-08-22 09:25:14 -04:00
Andy Cedilnik a47d3da969 STYLE: Nightly Version update 2007-08-21 23:15:22 -04:00
Alexander Neundorf 7ff741f14d STYLE: more space in the cmake_install.cmake script (easier to read)
Alex
2007-08-21 16:22:55 -04:00
Alexander Neundorf 9eb4ffcc3f COMP: make it build on Linux
Alex
2007-08-21 16:21:09 -04:00
Alexander Neundorf a8128f88b7 BUG: fix segfault if FindFiles() is called without actual match pattern
(e.g. FILE(GLOB /usr/include) instead of FILE(GLOB /usr/include/* )
#4620

Alex
2007-08-21 15:30:07 -04:00
Alexander Neundorf 326e114439 ENH: also check for .hpp and .cxx files
Alex
2007-08-21 13:47:29 -04:00
Alexander Neundorf d0833b7bc3 COMP: header was missing...
Alex
2007-08-21 12:34:06 -04:00
Alexander Neundorf c1b3484c2d ENH: store the matches for paren-delimited subexpression in
CMAKE_MATCH_[0..9] variables, so to get multiple subexpressions from one
string STRING(REGEX MATCH) has to be executed only once

Alex
2007-08-21 11:30:09 -04:00
Alexander Neundorf bf354fa308 STYLE: fix documentation for STRING(REPLACE) #5536
Alex
2007-08-21 10:56:25 -04:00
Andy Cedilnik 517a53e2d1 STYLE: Nightly Version update 2007-08-20 23:17:42 -04:00
Alexander Neundorf 7db8c86ac9 STYLE: add some newlines to cmake_install.cmake, so it's easier to read
-move the array behind the if, it's unused before it

Alex
2007-08-20 16:59:06 -04:00
David Cole b867a85213 STYLE: Fix line length style errors introduced last week. 2007-08-20 11:03:16 -04:00
Alexander Neundorf 9d45638988 ENH: also process "~" and paths relative to CMAKE_CURRENT_SOURCE_DIR in Foo_DIR
Alex
2007-08-20 08:49:21 -04:00
Andy Cedilnik 129a3e9f9e STYLE: Nightly Version update 2007-08-19 23:17:38 -04:00
Andy Cedilnik 4de188d98d STYLE: Nightly Version update 2007-08-18 23:15:23 -04:00
Andy Cedilnik 2d8909562a STYLE: Nightly Version update 2007-08-17 23:17:25 -04:00
Alexander Neundorf e8ced6a0e2 COMP: include windows.h first, as it is done in the other source files
Alex
2007-08-17 10:14:32 -04:00
Alexander Neundorf 767f24aeda ENH: patch from Miguel
- cleaning up a bit: static helper functions, remove unused scanner profiles, remove unused variables, etc.
- correct <name> entry in .project file
- converts the make command and other paths obtained from cygwin cmake to windows style paths
- provide environment setup for compiling with nmake
- create linked resources and path entries for executable/library_output_path's not subdirs of binary path
- fixes incorrect exclusions of output dirs when named the same as source dir
- excludes the CMakeFiles subdirs from the directories to scan for output targets
- removes possible redundant entries in <pathentry include ...>
- adds the all and preinstall targets to the target list
- removes the linked resources for non out-of-source builds and conflicting dirs

Alex
2007-08-17 10:05:39 -04:00
Alexander Neundorf feda0041c3 STYLE: InitializeInternal() is unused
Alex
2007-08-17 09:33:29 -04:00
Alexander Neundorf 45da4d2f80 ENH: patch from Eric Noulard for an RPM package generator
It seems rpmbuild can't handle paths with spaces, it complains that
Buildroot takes only one tag (or something like this), quoting and escaping
don't seem to help.

Alex
2007-08-17 09:13:15 -04:00
Andy Cedilnik 889aeeb48c STYLE: Nightly Version update 2007-08-16 23:24:30 -04:00
Alexander Neundorf 950c1359fa COMP: quick windows name mangling fix (otherwise the compiler complains about cmMakefile::GetCurrentDirectoryA(), which doesn't exist)
Alex
2007-08-16 16:50:27 -04:00
Alexander Neundorf 12f6383561 ENH: move the code for the NOTFOUND checking into its own function, so
Configure() gets easier to overview
-improve the error message, now it also says in which directories and for
which targets the missing variables are used
-minor speedup: the include directories don't have to be checked per target,
per directory is enough

Alex
2007-08-16 15:33:17 -04:00
Mathieu Malaterre 964719128c COMP: Directory and Glob have pointer data members 2007-08-16 07:38:47 -04:00
Andy Cedilnik f9cbfbb458 STYLE: Nightly Version update 2007-08-15 23:09:40 -04:00
David Cole f1115a30ee COMP: Second try getting rid of Microsoft deprecation warnings. This time tested from KWStyle with vs8 to make sure the warnings are really gone. Remove the deprecation defs from CMakeLists and guard the defs in the header so we do not redefine them if they are already defined. 2007-08-15 11:38:13 -04:00
Alexander Neundorf 2f23ecdb8a ENH: change LIST(CONTAINS ...) TO LIST(FIND ...), which returns the index
and which is more useful, because then you can also access the item behind
the one you were looking, useful for writing macros with optional keywords
with parameters

Alex
2007-08-15 10:26:50 -04:00
David Cole bdeb4ad217 COMP: Suppress Microsoft deprecation warnings when building kwsys .c and .cxx files. This way, other projects that include kwsys will not see the warnings in kwsys .c and .cxx files, but they can still see the warnings in their own source files if they want to... 2007-08-15 09:25:58 -04:00
Alexander Neundorf 911613edf0 COMP: fix warning about comparison signed - unsigned
Alex
2007-08-15 08:47:28 -04:00
Alexander Neundorf 1dde4ab36c COMP: fix build on HPUX, snprintf apparently doesn't work there
Alex
2007-08-15 08:28:08 -04:00
Andy Cedilnik 96a93400c5 STYLE: Nightly Version update 2007-08-14 23:15:22 -04:00
David Cole 0e96f06954 ENH: Improve framework support in the makefile generator to match the support just added to the Xcode generator. BUG: Remove spurious warning and eliminate empty Libraries subdir inside built framework. 2007-08-14 14:12:08 -04:00
Alexander Neundorf a33e059e41 STYLE: document the behaviour of UTILITY_SOURCE in cross compiling mode
Alex
2007-08-14 11:58:21 -04:00
David Cole fa61182de8 ENH: Improvements to the Xcode generator. Build frameworks using native Copy Headers and Copy Bundle Resources phases. Fix bugs: eliminate folders with no names, ensure source files show up in multiple targets, remove empty utility targets from Sources subtrees, ensure that fileRefs only show up once in each grouping folder. 2007-08-14 11:45:15 -04:00
Alexander Neundorf f13c3eef83 COMP: patch from Mathieu: fix warning about unused variables in bootstrap
mode

Alex
2007-08-14 10:27:34 -04:00
Alexander Neundorf eff7981b57 STYLE: another patch from Mathieu with some comments
Alex
2007-08-14 10:25:23 -04:00
Alexander Neundorf dfbd4ce0f2 ENH: deb generator: don't use the system provided ar, but do it yourself
using the code from OpenBSD ar
COMP: don't build all package generators on all platforms

Alex
2007-08-14 08:40:40 -04:00
Andy Cedilnik fbf5025192 STYLE: Nightly Version update 2007-08-13 23:11:45 -04:00
Andy Cedilnik 54f0a2f0a0 STYLE: Nightly Version update 2007-08-12 23:11:44 -04:00
Andy Cedilnik bd275f0d3b STYLE: Nightly Version update 2007-08-11 23:21:08 -04:00
Andy Cedilnik 1313cb16a6 STYLE: Nightly Version update 2007-08-10 23:17:21 -04:00
Bill Hoffman fa46cb5572 ENH: fix output and valgrind truncation issue 2007-08-10 16:28:48 -04:00
Alexander Neundorf a793daf228 ENH: print a warning if UTILITY_SOURCE is used in cross compiling mode
-make it possible to preload the cache with the command in cross compiling
mode

Alex
2007-08-10 15:02:38 -04:00
Brad King c6092b7e5e BUG: Fixed passing of configuration names to GetRealDependency and ConstructScript. Added GetConfigName helper method to do this. 2007-08-10 13:02:59 -04:00
Bill Hoffman 8b07c96090 ENH: fix memory leak 2007-08-10 11:15:19 -04:00
Alexander Neundorf 512e0d40ef ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was before, so it
works for scripts, then reset them in CMakeSystemSpecificInformation.cxx, so
the platform modules can set them again for the target system

Alex
2007-08-10 09:07:39 -04:00
Andy Cedilnik 7866710465 STYLE: Nightly Version update 2007-08-09 23:17:00 -04:00
Alexander Neundorf 7b917000aa STYLE: use correct case for cmGlobalUnixMakefileGenerator3
make export() work with spaces in the path

Alex
2007-08-09 15:57:30 -04:00
Alexander Neundorf 176fe63d15 ENH: UNIX, CYGWIN, WIN32, APPLE, QNXNTO and BEOS are not longer set in
cmMakefile.cxx, but now in the platform files and are now valid for the
target platform, not the host platform.
New variables CMAKE_HOST_WIN32, CMAKE_HOST_UNIX, CMAKE_HOST_APPLE and
CMAKE_HOST_CYGWIN have been added in cmMakefile.cxx (...and have now to be
used in all cmake files which are executed before
CMakeSystemSpecificInformation.cmake is loaded). For compatibility the old
set is set to the new one in CMakeDetermineSystem.cmake and reset before the
system platform files are loaded, so custom language or compiler modules
which use these should still work.

Alex
2007-08-09 14:45:23 -04:00
Alexander Neundorf 9bd32386c2 COMP: this copy of curl is unused, the one in Utilities/cmcurl/ is used
Alex
2007-08-09 14:26:10 -04:00
Alexander Neundorf 6c5fb80656 STYLE: fix typo
Alex
2007-08-09 09:03:25 -04:00
Alexander Neundorf 112747e4e2 STYLE: fix typo
Alex
2007-08-09 08:49:49 -04:00
Alexander Neundorf 9ec10993f8 BUG: properties and module names are case sensitive
Alex
2007-08-09 08:48:56 -04:00
Andy Cedilnik f9dea43169 STYLE: Nightly Version update 2007-08-08 23:15:42 -04:00
Alexander Neundorf 406349a1d1 COMP: silence warnings
Alex
2007-08-08 15:44:02 -04:00
Alexander Neundorf c5d79a298d BUG: register the rpm generator for RPM
Alex
2007-08-08 14:44:54 -04:00
Alexander Neundorf 4ba24ce474 ENH: patch from Mathieu: more entries in the debian control file
Alex
2007-08-08 14:18:13 -04:00
Alexander Neundorf 9deca5887d ENH: remove the watch for the upper case variable name, it breaks the
feature summary, which needs to check for both the upper case and original
case _FOUND variables

Alex
2007-08-08 13:05:27 -04:00
Alexander Neundorf 7432ef206e ENH: add empty RPM package generator, Eric Noulard wants to work on it
Alex
2007-08-08 11:33:42 -04:00
Mathieu Malaterre 8576d61989 ENH: Remove extra ; 2007-08-08 08:41:07 -04:00
Andy Cedilnik bdd7290cee STYLE: Nightly Version update 2007-08-07 23:10:12 -04:00
Alexander Neundorf 2f06857635 COMP: also commit the header...
Alex
2007-08-07 16:26:59 -04:00
Alexander Neundorf 8d7b502337 ENH: add global properties for collecting enabled/disabled features during
the cmake run and add macros print_enabled/disabled_features() and
set_feature_info(), so projects can get a nice overview at the end of the
cmake run what has been found and what hasn't
FIND_PACKAGE() automatically adds the packages to these global properties,
except when used with QUIET
Maybe this can also be useful for packagers to find out dependencies of
projects.

Alex
2007-08-07 15:41:57 -04:00
Alexander Neundorf 1059a8891d STYLE: I think the comment (and the book) were wrong about the naming of
this file

Alex
2007-08-07 15:09:21 -04:00
Brad King d926792066 ENH: Replaced dependency integrity map with an explicit map from object file to source file for each language in each target. This simplifies creation of implicit dependency scanning rules and allows more than one object file in a target to start dependency scanning with the same source file. 2007-08-07 13:57:13 -04:00
Alexander Neundorf e0b86a4496 ENH: don't create a CodeBlocks workspace, the CodeBlocks projects cover
everything what's needed

Alex
2007-08-07 00:00:32 -04:00
Andy Cedilnik d43269847a STYLE: Nightly Version update 2007-08-06 23:16:33 -04:00
Bill Hoffman 01c3c3dee6 ENH: change error to warning so ctesttest3 passes 2007-08-06 17:09:47 -04:00
Alexander Neundorf f23169b01a ENH: another fix for the deb generator by Mathieu
Alex
2007-08-06 13:31:37 -04:00
Alexander Neundorf e41e2e6b1a STYLE: fix line lengths
Alex
2007-08-06 13:24:42 -04:00
Alexander Neundorf 4040f5f1bf BUG: patch from Mathieu: the md5sums were not correct
Alex
2007-08-06 09:03:10 -04:00
Andy Cedilnik a442e0e0cb STYLE: Nightly Version update 2007-08-05 23:17:19 -04:00
Andy Cedilnik f2d2dd9e2f STYLE: Nightly Version update 2007-08-04 23:10:40 -04:00
Andy Cedilnik 0b9d3775ec STYLE: Nightly Version update 2007-08-03 23:07:44 -04:00
Bill Hoffman 65ae576c01 ENH: make sure there is an error and notify user if nightly start time not set 2007-08-03 16:44:57 -04:00
Bill Hoffman e8f3b5ff00 ENH: show files as untested if no lines are covered 2007-08-03 16:44:04 -04:00
Bill Hoffman 1d250298d0 ENH: fatal error if cvs update fails 2007-08-03 16:42:47 -04:00
Bill Hoffman 1a11a2d0c0 ENH: add a check to make sure nightly start time was specified 2007-08-03 16:41:49 -04:00
Bill Hoffman 6baaf296a5 ENH: add another valgrind error type 2007-08-03 16:35:22 -04:00
Brad King bffcff4530 ENH: Added warning when an install rule is created from an EXCLUDE_FROM_ALL target. Added a foo/preinstall version of targets that need relinking so that exclude-from-all targets can be manually relinked for installation. 2007-08-03 16:31:08 -04:00
Brad King d7118006de BUG: Target exclusion-from-all tests should always use the root local generator associated with the all target being tested. 2007-08-03 15:44:25 -04:00
Sean McBride 11604e72c4 COMP: fixed compiler warning in sprintf usage 2007-08-03 15:43:31 -04:00
Alexander Neundorf 68674bd0d7 ENH: better error messages from the debian package generator
-don't display the cpack help if a generator failed with some problem
-check for cmSystemTools::GetErrorOccuredFlag()

Alex
2007-08-03 15:26:30 -04:00
Brad King bf0c200f0a ENH: Added cmTarget::GetLanguages method to centralize computation of the list of languages compiled in a target. Transformed NeedRequiresStep to use it. 2007-08-03 09:39:32 -04:00
Andy Cedilnik 1c508b94ae STYLE: Nightly Version update 2007-08-02 23:18:32 -04:00
Brad King 8dc897b60c BUG: Removing accidental commit. 2007-08-02 14:28:45 -04:00
Brad King 695424f6b7 BUG: Quick-fix for accidental commit. 2007-08-02 14:28:00 -04:00
Brad King 8b0575c4ce ENH: Added cmTarget::GetLanguages method to centralize computation of the list of languages compiled in a target. 2007-08-02 14:23:46 -04:00
Brad King 9f2de08f90 ENH: Added cmTarget::GetLanguages method to centralize computation of the list of languages compiled in a target. 2007-08-02 13:38:39 -04:00
Brad King cd6abe486d ENH: Simplify makefile target generator listing of object files to clean. 2007-08-02 09:37:10 -04:00
Alexander Neundorf 674b8a7aab COMP: fix warning
Alex
2007-08-02 08:24:18 -04:00
Andy Cedilnik dfd6fe2005 STYLE: Nightly Version update 2007-08-01 23:12:01 -04:00
Alexander Neundorf 8046390f1e ENH: if no COMPONENT is specified, make this install item part of the
"Unspecified" component -> if no components are used at all, no change in
behaviour, if components are used completely, no change in behaviour, since
this default will be overridden everywhere, if components where used partly,
it is now possible to install only the unspecified items (e.g. everything
which wasn't marked as "Development")

Alex


Alex
2007-08-01 17:10:22 -04:00
Alexander Neundorf d58b93a5b1 ENH: separate the commands into current and compat as in cmake
Alex
2007-08-01 15:51:05 -04:00
Brad King ea874415d9 ENH: Moved GetTargetDirectory method up to cmLocalGenerator. This provides a common interface to something that was implemented in most local generators anyway. 2007-08-01 15:25:40 -04:00
Alexander Neundorf 2246e0336d BUG: also offer the extra generators in CMakeSetup
Alex
2007-08-01 14:58:55 -04:00
David Cole ee91e25499 BUG: Only pay attention to the FRAMEWORK target property for SHARED library targets 2007-08-01 13:04:45 -04:00
Alexander Neundorf a0533be267 STYLE: some more tuning for the comment text
Alex
2007-08-01 11:59:51 -04:00
Alexander Neundorf 63e2c3bbf2 ENH: works also with nmake, tested by Jeff
Alex
2007-08-01 11:50:26 -04:00
Brad King ecff1c37da BUG: Do not recognize preprocessor definition flags for the linker which has no preprocessor but does have flags starting with /D. 2007-08-01 11:39:51 -04:00
Brad King e0fc8b2995 BUG: <CONFIG>_LOCATION property should use the config name in the directory and not $(OutDir). This addresses bug#5363. 2007-08-01 11:36:35 -04:00
Brad King f0d1e1626d COMP: Fix warning about not being able to automatically generate a copy constructor. 2007-08-01 10:53:28 -04:00
Alexander Neundorf d486e7c871 COMP: also build the static dummy loader on Cray Catamount
Alex
2007-08-01 10:07:46 -04:00
Alexander Neundorf f7f522e61a ENH: add Eclipse CDT4 generator, patch from Miguel A. Figueroa-Villanueva
Alex
2007-08-01 09:18:50 -04:00
Andy Cedilnik adb1b07e4f STYLE: Nightly Version update 2007-07-31 23:16:07 -04:00
Alexander Neundorf 67672b814a ENH: add tests for check_c_source_runs(), check_cxx_source_runs(),
check_c_source_compiles() and check_cxx_source_compiles()
-TRY_RUN in crosscompiling mode: copy the created executables to
CMAKE_BINARY_DIR so the user can run them manually on the target

Alex
2007-07-31 14:52:01 -04:00
Bill Hoffman be1b19ada0 BUG: fix DLL and DEF being lost and add real support for /DEF: /DLL does not have an entry so just let it pass to advanced command line 2007-07-31 11:23:15 -04:00
Andy Cedilnik 7d34b7de7c STYLE: Nightly Version update 2007-07-30 23:07:44 -04:00
Bill Hoffman c693a23a7d ENH: use gnu tar for cygwin 2007-07-30 22:51:21 -04:00
Bill Hoffman bc2accc65e STYLE: fix warning 2007-07-30 21:38:50 -04:00
Alexander Neundorf 220fe4f3ce COMP: add a dynamic loader for systems which don't support dynamic loading, so this is handled in kwsys and not every project using this has to care for it
Alex
2007-07-30 15:52:36 -04:00
Alexander Neundorf a9d19d884e ENH: FORCE the values in the cache, otherwise the file is useless
Alex
2007-07-30 14:46:57 -04:00
Andy Cedilnik e9b3ae3d11 STYLE: Nightly Version update 2007-07-29 23:13:19 -04:00
Andy Cedilnik 5441900a9f STYLE: Nightly Version update 2007-07-28 23:32:53 -04:00
Andy Cedilnik 1d5514040a STYLE: Nightly Version update 2007-07-28 00:33:15 -04:00
Alexander Neundorf 42f9a6eb08 STYLE: fix line length
Alex
2007-07-27 13:12:36 -04:00
Bill Hoffman 2745742e09 STYLE: fix some kwstyle errors 2007-07-27 10:55:24 -04:00
Alexander Neundorf d6a0c330bc ENH: deb generator can now generate deb packages
-remove the unscriptable commands also from the cpack cmake
-use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and
the deb generator
-make set_properties() scriptable
-use a non-const char array for adding the python modules

Alex
2007-07-27 08:59:59 -04:00
Andy Cedilnik e2aeecc294 STYLE: Nightly Version update 2007-07-27 04:22:32 -04:00
Bill Hoffman 3017259ac4 ENH: add test output to valgrind output and truncate output for valgrind 2007-07-26 16:38:00 -04:00
Bill Hoffman 3f00d3cbc9 ENH: fix warning on win64 2007-07-26 14:36:06 -04:00
Andy Cedilnik d0561a3d29 STYLE: Nightly Version update 2007-07-26 11:21:47 -04:00
Alexander Neundorf 0ea4c7b784 STYLE: fix line lengths
Alex
2007-07-26 08:40:51 -04:00
Andy Cedilnik 9202d27465 STYLE: Nightly Version update 2007-07-26 00:08:00 -04:00
Bill Hoffman ca31d33151 ENH: fix bug with valgrind output being truncated 2007-07-25 16:37:50 -04:00
Alexander Neundorf 9c2d6f98d7 ENH: apply patch from Mathieu which creates a deb file (not finishsed yet)
Alex
2007-07-25 13:08:17 -04:00
Alexander Neundorf 8796bfcbaf COMP: silence warnings
Alex
2007-07-25 11:41:25 -04:00
Alexander Neundorf a39aff52a0 ENH: add an empty debian package generator, Mathieu volunteered to fill it
:-)

Alex
2007-07-25 10:57:33 -04:00
Bill Hoffman f4ac0f8373 STYLE: fix compiler warning 2007-07-25 09:22:19 -04:00
Andy Cedilnik ef1e66e92f STYLE: Nightly Version update 2007-07-25 04:18:42 -04:00
Bill Hoffman 69b7ba3543 ENH: fix resource leak 2007-07-24 15:55:03 -04:00
Bill Hoffman 132cb5d479 ENH: add support for bounds checker 2007-07-24 14:43:31 -04:00
Alexander Neundorf 919265516e ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile can be
private again
-convert the ZIP generator to use a cmake script instead of hardcoding
everything (CPackZIP.cmake)

Alex
2007-07-24 12:52:39 -04:00
Bill Hoffman 4ae802d9c1 ENH: fix resource leak 2007-07-24 10:05:31 -04:00
Alexander Neundorf 8a6e2bb81d ENH: determine the current system also in cpack, so the search paths are
loaded
Additionally the makefile in cmCPackGenericGenerator is now protected
instead of private, so with these two changes the cpack generators should
now be able to find their tools and how to call these tools from cmake
scripts, instead of hardcoding the search order and command line (as done
e.g. in cmCPackZIPGenerator.cxx)

Alex
2007-07-24 10:00:26 -04:00
Andy Cedilnik 8240cc006f STYLE: Nightly Version update 2007-07-24 02:28:02 -04:00
Alexander Neundorf 7497f8accf STYLE: put a lot of comments into the generated cmake-cache preloading file to aid the user with using it
Alex
2007-07-23 13:13:29 -04:00
Alexander Neundorf cbab76516f ENH: try to create a file which can be used for presetting the cache values
of the TRY_RUN() results when crosscompiling

Alex
2007-07-23 10:47:23 -04:00
Alexander Neundorf dddbad259c PERF: micro optimization: the (*pos1) && (*pos1=='/') were redundant, and
hasDoubleSlash is false in most cases, so in most cases 3 comparisons were
done, now only one

Alex
2007-07-23 09:06:48 -04:00
Andy Cedilnik 21c14ca2bc STYLE: Nightly Version update 2007-07-23 00:41:20 -04:00
Andy Cedilnik aa31c8bcde STYLE: Nightly Version update 2007-07-21 23:26:15 -04:00
Andy Cedilnik 425b912f66 STYLE: Nightly Version update 2007-07-20 22:46:44 -04:00
Bill Hoffman fcad93e172 ENH: user more memory for parser and add test to complex that sets a huge string 2007-07-20 14:08:37 -04:00
Bill Hoffman 2fb1c43a11 ENH: fix div by 0 2007-07-20 13:03:14 -04:00
Alexander Neundorf 581518919b STYLE: even more output when --debug-output is used
Alex
2007-07-20 08:48:32 -04:00
Alexander Neundorf 55303d6dd2 STYLE: fix line lengths
Alex
2007-07-20 08:36:16 -04:00
Andy Cedilnik 38084147e1 STYLE: Nightly Version update 2007-07-19 21:02:11 -04:00
Alexander Neundorf 8c77fe55dc STYLE: fix some typos, nicer debug output
Alex
2007-07-19 11:13:01 -04:00
Andy Cedilnik b6b1ebe295 STYLE: Nightly Version update 2007-07-18 14:38:55 -04:00
Alexander Neundorf 27244a1fde ENH: build codeblocks generator also on Windows
Alex
2007-07-18 10:19:33 -04:00
Bill Hoffman 0044ce71bc STYLE: add more docs 2007-07-17 13:43:37 -04:00
Alexander Neundorf 11742beb1b COMP: fix warning about unused variable
Alex
2007-07-17 13:10:17 -04:00
Alexander Neundorf b56815a4e9 COMP: fix build on Windows, where GetCurrentDirecty() is redefined to
GetCurrentDirectoryA()
-correct return value for md5sum

Alex
2007-07-17 12:01:39 -04:00
Alexander Neundorf a4429ad30a STYLE: fix line lengths and add "remove -f" to the docs
Alex
2007-07-17 10:44:09 -04:00
Alexander Neundorf 95a8331edb ENH: produce a lot more output when running with --debug-output
-try to fix build error on HPUX

Alex
2007-07-17 09:25:08 -04:00
Alexander Neundorf e69958c3cf BUG: fix bootstrapping, md5sum disabled in bootstrapping mode
Alex
2007-07-16 15:10:40 -04:00
Alexander Neundorf fac8604810 BUG: GET_DIRECTORY_PROPERTY(INCLUDE_DIRECTORIES|LINK_DIRECTORIES) wasn't
working, for both the result was always empty, since
cmMakefile::GetProperty() recognized it as a special property, constructed a
correct return value and called cmMakefile::SetProperty() with this list of
directories, which then didn't actually set the property, but applied it to
the internal vector of include/link directories. The following
getPropertyValue in cmMakefile::GetProperty() then still didn't find it and
returned nothing. Now for all special property the static string output is
used and its content is returned. I'm not sure it is the right way to fix
this problem but at least it seems to work and it fixes the Paraview3 build

Alex
2007-07-16 13:26:56 -04:00
Alexander Neundorf 5bb94ce166 ENH: apply patch from Mathieu, add argument -E md5sum to compute md5sums of
files, compatible to md5sum output

Alex
2007-07-16 10:54:32 -04:00
Alexander Neundorf 1941b1c5d2 STYLE: better error message, name the new manpages cmakecommands,
cmakecompat, cmakeprops and cmakemodules

Alex
2007-07-13 12:03:13 -04:00
Alexander Neundorf 378a8e99f9 ENH: add a simple CodeBlocks extra generator, early alpha stage, there seems
to be interest in it

Alex
2007-07-13 00:58:43 -04:00
Alexander Neundorf c8010cd7fb ENH: add LIST(CONTAINS ...) patch from "Miguel A. Figueroa-Villanueva, miguelf (AT) ieee.org
added tests for LIST(CONTAINS, SORT, REVERSE)

Alex
2007-07-12 11:56:45 -04:00
Ken Martin 36eb538843 BUG: fix screwup in GetDirectoryProp... 2007-07-12 10:17:37 -04:00
Alexander Neundorf 021ceea1b0 ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea)
Alex
2007-07-12 08:37:10 -04:00
Alexander Neundorf 16705a3e87 COMP: revert last commit for now, broke Visual Studio
Alex
2007-07-11 17:29:27 -04:00
Alexander Neundorf bea1a5de77 ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority, not a
two-step priority (None or Prefered)
Current order: ASM 0, C 10, Fortran 20, CXX 30, Java 40
This is the same order as automake choses:
http://www.gnu.org/software/automake/manual/html_node/How-the-Linker-is-Chosen.html

This change should be backward compatible:
if there is a project using fortran and CXX, they had to set the
LINKER_LANGUAGE explicitely, otherwise cmake complained (but still generated
the project files). Explicitely setting the linker language still overrides
automatic detection.
If somebody has a custom language for cmake and the PREFERENCE starts with
"P", its changed to 100, which gives it preference over all other languages
(except the other custom languages which have also "Prefered"). "None" is
converted to 0.

Alex
2007-07-11 16:22:04 -04:00
Alexander Neundorf 9f16292b6a STYLE: sort the property documentation into
global/directory/target/test/sourcefile and variable sections

Alex
2007-07-11 15:53:58 -04:00
Alexander Neundorf ab10b43ec5 ENH: change the way #cmakedefine is changed to #undef, so it is similar to
what autoconf does. This makes porting software from autoconf to cmake
easier, since it's easier to diff the resulting config headers.

Now the following
#cmakedefine HAVE_STRING_H 1
#cmakedefine HAVE_STRLCAT 1

produce:

#define HAVE_STRING_H 1
/* #undef HAVE_STRLCAT */

whereas before they produced:

#define HAVE_STRING_H 1
/* #undef HAVE_STRLCAT 1 */

Since it's commented out anyway, it's now change in behaviour.

Alex
2007-07-11 15:50:32 -04:00
Ken Martin 9f2ee61cc8 ENH: added some documentation to explain a section of code a bit better 2007-07-10 14:05:06 -04:00
Ken Martin 8c641677e9 ENH: some cleanup of get property commands 2007-07-10 13:52:41 -04:00
Brad King 15f21aa74c STYLE: Removed stray comment. 2007-07-09 14:30:33 -04:00
Andy Cedilnik 3a69b75c09 STYLE: Nightly Version update 2007-07-09 05:50:48 -04:00
Andy Cedilnik 39d1d72a72 STYLE: Nightly Version update 2007-07-09 00:44:51 -04:00
Andy Cedilnik d0441d6b25 STYLE: Nightly Version update 2007-07-07 17:23:32 -04:00
Andy Cedilnik 38f68e433a STYLE: Nightly Version update 2007-07-06 19:09:40 -04:00
Andy Cedilnik dbbe920865 STYLE: Nightly Version update 2007-07-05 15:50:36 -04:00
Andy Cedilnik a28b298aa6 STYLE: Nightly Version update 2007-07-04 08:21:27 -04:00
Alexander Neundorf 7fbd4161d5 STYLE: name the external generator "KDevelop3 - Unix Makefiles" instead of "Unix Makefiles -
KDevelop3"
-initialize Ignore to 0, crashes otherwise

Alex
2007-07-03 16:10:50 -04:00
Alexander Neundorf ad2fe23f6f COMP: fix compile on HP-UX with aCC, reusing the same identifier for a
variable as for the enum type doesn't work here

Alex
2007-07-03 08:26:32 -04:00
Andy Cedilnik fa9dd93d95 STYLE: Nightly Version update 2007-07-03 03:58:13 -04:00
Alexander Neundorf 1fb59c23fd COMP: fix warnings
Alex
2007-07-02 16:46:18 -04:00
Brad King e25dd3b903 COMP: Remove unused argument. 2007-07-02 16:04:15 -04:00
Brad King c3fed205e9 COMP: Remove shadowed local. 2007-07-02 16:04:12 -04:00
Alexander Neundorf 2e56fa4808 ENH: add framework for unified handling of arguments to cmake commands,
example see cmExportCommand.cxx

Alex
2007-07-02 15:43:21 -04:00
Brad King 7f29f8966d ENH: Further cleanup of installation script generation. The per-component and per-configuration testing is now done in cmake code instead of in the FILE(INSTALL) command. The generation of the cmake code to do these tests is centralized in cmInstallGenerator. Old-style shared library versioning and component/config support code has been removed from FILE(INSTALL). This commit is surrounded by the tags CMake-InstallGeneratorCleanup2-pre and CMake-InstallGeneratorCleanup2-post. 2007-07-02 14:56:57 -04:00
Brad King cac79e92b8 STYLE: Fixed line-too-long, fixed indentation, removed trailing whitespace, added function separator comment lines. 2007-07-02 13:32:41 -04:00
Brad King 39d1343896 BUG: Fix install_name_tool update of the executable in an installed bundle on OSX. This addresses bug#4534. 2007-07-02 11:31:10 -04:00
Alexander Neundorf 611f86b7f6 COMP: fix build with msvc 6, the enums are now part of a class which is
already completely parsed

Alex
2007-07-02 11:24:44 -04:00
Brad King c83ae4673d ENH: Improved indentation of generated cmake_install.cmake code. 2007-07-02 11:02:52 -04:00
Andy Cedilnik 5c00dda8ce STYLE: Nightly Version update 2007-07-01 16:53:22 -04:00
Andy Cedilnik fe082afc5c STYLE: Nightly Version update 2007-06-30 22:33:29 -04:00
Andy Cedilnik d236641aaf STYLE: Nightly Version update 2007-06-30 21:06:31 -04:00
Andy Cedilnik d65aaebf92 STYLE: Nightly Version update 2007-06-29 16:29:40 -04:00
Brad King fdf7b203af ENH: First step of install script generator cleanup. Each configuration to be installed is now separately handled instead of using variables to store per-configuration names. For targets the component and configuration install-time tests are now done in the install script instead of in the FILE(INSTALL) command. This cleans things up like not trying to strip a file that was optionally not installed. It also simplifies the code for install_name adjustment on OSX. This commit is surrounded by the tags CMake-InstallGeneratorCleanup1-pre and CMake-InstallGeneratorCleanup1-post. 2007-06-28 16:11:18 -04:00
Alexander Neundorf 33e9becd6f COMP: fix warning about unused parameter
Alex
2007-06-28 15:28:00 -04:00
Alexander Neundorf 151d55557e ENH: generate separate documentation for the commands, compatiblity
commands, modules and properties as html, text and man pages.
The names of the man pages are cmcommands, cmcompat, cmprops and cmmodules,
so they are easy to type.

Alex
2007-06-28 15:04:28 -04:00
Andy Cedilnik 95f55515fa STYLE: Nightly Version update 2007-06-28 13:08:26 -04:00
Alexander Neundorf c95dc91237 ENH:
-in the full documentation there is now an extra section for
compatibility commands, so users see which commands they shouldn't use
-cmake -h <command> now also works with lower case commands
--help-fullm --help-command, --help-module and --help-property now determine
the output format from the extension of the given filename

Let me know if there are some things I overlooked.

Alex
2007-06-28 11:00:57 -04:00
Alexander Neundorf 789f0b26d9 COMP: fix typo
Alex
2007-06-28 10:22:58 -04:00
Alexander Neundorf 43de8c8628 ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to do
something like this:

ENABLE_LANGUAGE(ASM-ATT)
IF(CMAKE_ASM-ATT_COMPILER_WORKS)
  ... do assembler stufff
ELSE(CMAKE_ASM-ATT_COMPILER_WORKS)
  ... fallback to generic C/C++
ENDIF(CMAKE_ASM-ATT_COMPILER_WORKS)

Alex
2007-06-28 09:09:26 -04:00
Brad King 53f39ad566 BUG: Do not install the import library for an executable that does not have ENABLE_EXPORTS set. 2007-06-27 16:14:50 -04:00
Brad King c0d3ab2d2b BUG: Need to compute the correct versioned name for executables on cygwin. This addresses bug#5238. 2007-06-27 16:10:39 -04:00
Alexander Neundorf cfe9fda9fe ENH: here we really want only non-imported targets, as discussed with Brad
Alex
2007-06-27 15:42:33 -04:00
Brad King eab81489f1 ENH: Added global property FIND_LIBRARY_USE_LIB64_PATHS to allow lib64 paths to be searched optionally. Turn off the feature on debian systems. This addresses debian report 419007. 2007-06-27 12:07:34 -04:00
Brad King 6352bd5cd3 BUG: Fixed spelling of globally in global property names. 2007-06-27 12:05:59 -04:00
Brad King 9dec9a0c3b COMP: Fix for platforms that do not have siginfo on their signal handlers. 2007-06-27 11:39:16 -04:00
Andy Cedilnik 25e97d20ce STYLE: Nightly Version update 2007-06-27 04:49:27 -04:00
Alexander Neundorf b1aac1fb0d ENH: use CMAKE_SYSTEM instead of CMAKE_SYSTEM_NAME, since
CMAKE_SYSTEM_NAME may already have been set when crosscompiling


Alex
2007-06-26 19:54:00 -04:00
Alexander Neundorf b459ac2a1e COMP: fix broken tests for now
Alex
2007-06-26 17:14:13 -04:00
Alexander Neundorf acd71c8330 COMP: fix bootstrapping
Alex
2007-06-26 17:08:29 -04:00
Ken Martin 571b3088d5 ENH: add SetProperties into bootstrap 2007-06-26 14:48:06 -04:00
Alexander Neundorf 2504ffe8c3 STYLE: rename chain to inherit in the docs
Alex
2007-06-26 13:50:14 -04:00
Alexander Neundorf f8261ff9f7 STYLE: change global cmake variable CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS
to the first global cmake property TARGET_SUPPORTS_SHARED_LIBS

Alex
2007-06-26 13:05:27 -04:00
Alexander Neundorf 5fb7dab541 ENH: check for CMAKE_HOST_SYSTEM_NAME to decide whether to load
CMakeDetermineSystem.cmake, since CMAKE_SYSTEM_NAME might already be preset
when using cmake for cross compiling
use type STRING instead of FILEPATH since otherwise a strange filename was
generated

Alex
2007-06-26 13:00:42 -04:00
Andy Cedilnik 2b1ae31453 STYLE: Nightly Version update 2007-06-26 04:55:14 -04:00
Ken Martin 3bf92ad4b4 COMP: fix warnings 2007-06-25 12:50:29 -04:00
Andy Cedilnik c1467ff991 STYLE: Nightly Version update 2007-06-25 12:07:22 -04:00
Ken Martin 0b9644910d ENH: added the ability to document variables and cached_variables 2007-06-25 10:34:21 -04:00
Ken Martin e35da01feb ENH: added cmGetPropertyCommand 2007-06-25 10:33:25 -04:00
Ken Martin 509f1fb9cb ENH: some property cleanup and added GetProperty 2007-06-25 09:51:37 -04:00
Andy Cedilnik 2d1c85ade3 STYLE: Nightly Version update 2007-06-24 06:38:05 -04:00
Andy Cedilnik ba46a225dc STYLE: Nightly Version update 2007-06-23 01:02:16 -04:00
Alexander Neundorf f7d4f27c2a ENH: add IMPORT keyword to ADD_LIBRARY, dependencies are not yet working
STYLE: fix line lengths and indentation, use enum as argument to AddLibrary() instead of int (which was initialized from a bool in some cases)

Alex
2007-06-22 09:58:10 -04:00
Alexander Neundorf 1d9889c5d3 ENH: put compatibility commands in extra section and prepare for creating
separate man pages for properties, modules, commands and compatibility
commands

Alex
2007-06-22 08:44:51 -04:00
Alexander Neundorf 1383368628 ENH: print a warning if ADD_LIBRARY( SHARED/MODULE ) is used and the target
platform doesn't support shared libraries

Alex
2007-06-21 16:23:54 -04:00
Alexander Neundorf e126db1f71 BUG: handle dependencies to imported targets better: don't create a
dependency if the target name was not listed in DEPENDS, if it was listed in
DEPENDS, create a dependency to the file

Seems to work, but have to check with Brad.

Alex
2007-06-21 13:08:22 -04:00
Andy Cedilnik 6e5b543c52 STYLE: Nightly Version update 2007-06-21 06:32:22 -04:00
Andy Cedilnik 9b87e2ad7d STYLE: Nightly Version update 2007-06-21 04:47:55 -04:00
Alexander Neundorf 1cf1780f6e STYLE: GetProjectName() is const
Alex
2007-06-20 23:01:36 -04:00
Andy Cedilnik 4bf3723ac1 STYLE: Nightly Version update 2007-06-20 03:08:41 -04:00
Alexander Neundorf fa26785bd3 COMP: fix build under windows
Alex
2007-06-19 14:57:55 -04:00
Alexander Neundorf c0d000d234 ENH: add INSTALL(EXPORT ...) mode and INSTALL( TARGETS ... EXPORT <set> ) ,
tests still have to be added

Alex
2007-06-19 13:10:21 -04:00
Alexander Neundorf 617602e9e9 STYLE: preparations for the INSTALL(EXPORT ...) generator
-move std::string Destination to cmInstallGenerator, since all (except
the script one) have it and add a const accessor so it can be queried
-use temporary variables in cmInstallCommand for the generators so they can be reused easier
-some more const

Alex
2007-06-19 11:11:06 -04:00
Brad King f786f3ae32 COMP: Work-around warning about static specifier on HP compiler. 2007-06-19 09:18:22 -04:00
Andy Cedilnik b22ae77fb8 STYLE: Nightly Version update 2007-06-18 17:14:25 -04:00
Brad King 35936433e1 ENH: Merging changes from branch CMake-SourceFile2-b between tags
CMake-SourceFile2-bp and CMake-SourceFile2-b-mp1 to trunk.  This
commit is surrounded by tags CMake-SourceFile2-b-mp1-pre and
CMake-SourceFile2-b-mp1-post on the trunk.

The changes re-implement cmSourceFile and the use of it to allow
instances to be created much earlier.  The use of cmSourceFileLocation
allows locating a source file referenced by a user to be much simpler
and more robust.  The two SetName methods are no longer needed so some
duplicate code has been removed.  The strange "SourceName" stuff is
gone.  Code that created cmSourceFile instances on the stack and then
sent them to cmMakefile::AddSource has been simplified and converted
to getting cmSourceFile instances from cmMakefile.  The CPluginAPI has
preserved the old API through a compatibility interface.

Source lists are gone.  Targets now get real instances of cmSourceFile
right away instead of storing a list of strings until the final pass.

TraceVSDependencies has been re-written to avoid the use of
SourceName.  It is now called TraceDependencies since it is not just
for VS.  It is now implemented with a helper object which makes the
code simpler.
2007-06-18 11:59:23 -04:00
Alexander Neundorf ef81ac50e5 ENH: NSIS exists also for Linux, not only Windows, so enable it there too
patch by   Michal Čihař <michal (AT) cihar.com>

Alex
2007-06-18 09:00:33 -04:00
Andy Cedilnik dbbd521461 STYLE: Nightly Version update 2007-06-17 20:50:38 -04:00
Andy Cedilnik ddc2d7e93f STYLE: Nightly Version update 2007-06-17 08:24:40 -04:00
Andy Cedilnik 278bbdb7c2 STYLE: Nightly Version update 2007-06-16 17:35:36 -04:00
Alexander Neundorf f6a6556e3c COMP: include cmExternalMakefileProjectGenerator.h
Alex
2007-06-15 16:09:30 -04:00
Alexander Neundorf 6d200fa6be STYLE: minor fixes
Alex
2007-06-15 16:07:16 -04:00
Alexander Neundorf 510cb415d4 COMP: forgot to commit this one
Alex
2007-06-15 15:33:57 -04:00
Alexander Neundorf 0ef8da2a53 STYLE: remove code duplication between PrepareScriptReference and
GetScriptReference, and make the logic for getting the filename public, so
it can be used e.g. for exporting

Alex
2007-06-15 14:27:33 -04:00
Alexander Neundorf 8237518994 BUG: don't strip static libraries, it removes their symbol table, dynamic
libs have an extra symbol table so they still work stripped

Alex
2007-06-15 13:00:54 -04:00
Alexander Neundorf 69d3628461 BUG: don't run strip on OPTIONAL install targets if the file doesn't exist
Alex
2007-06-15 11:12:07 -04:00
Alexander Neundorf fe45c19666 STYLE: add some more line breaks so it should be easier to read
Alex
2007-06-15 10:34:40 -04:00
Alexander Neundorf 9d4f3a0686 STYLE: remove duplicate non-const accessors GetLocalGenerator(int) and
GetLocaGenerators(cmLocalGenerators) from cmGlobalGenerator(). Now there is
one const accessor which is even faster since it returns a reference
(instead of copying a vector)
-more const to ensure that this the returned local generators don't actually
get modified
-removed duplicated code in GetCTestCommand() and GetCPackCommand()
-added some const accessors

Alex
2007-06-15 10:10:24 -04:00
Andy Cedilnik 8934172db7 STYLE: Nightly Version update 2007-06-15 08:19:31 -04:00
Alexander Neundorf 2f6f3316e4 STYLE: fix typo
Alex
2007-06-14 13:57:00 -04:00
Bill Hoffman 21b5c7d2b4 ENH: add more verbose output 2007-06-14 13:05:09 -04:00
Alexander Neundorf f80d98bc09 ENH: support 7zip for creating zip files (not 7z files)
Alex
2007-06-14 12:03:53 -04:00
Alexander Neundorf 68cb7b3173 STYLE: add comment about the -D -P order and fix typo in doc
Alex
2007-06-14 08:49:57 -04:00
Andy Cedilnik 9c08054016 STYLE: Nightly Version update 2007-06-14 07:08:58 -04:00
Andy Cedilnik 64fedd8835 STYLE: Nightly Version update 2007-06-14 01:21:54 -04:00
Alexander Neundorf 698ca6e956 STYLE: add documentation for FILE(REMOVE ...) and FILE(REMOVE_RECURSE ...)
FILE(REMOVE ...) works only for files, not for directories, REMOVE_RECURSE
works for both, it seems having both is not necessary

Alex
2007-06-13 14:36:26 -04:00
Alexander Neundorf 8c4fc5fa71 COMP: include cmStandardIncludes.h instead of <vector> and <string>, this
should fix the build problem on AIX

Alex
2007-06-13 12:52:29 -04:00
Alexander Neundorf 732788d191 BUG: make MARK_AS_ADVANCED() scriptable, because this is the only reason
many cmake FindXXX.cmake modules can't be used in script mode and also
FindUnixMake.cmake, which is required by the CTEST_BUILD() command

Alex
2007-06-13 10:54:28 -04:00
Andy Cedilnik 17b5c79d15 STYLE: Nightly Version update 2007-06-12 17:02:41 -04:00
David Cole 07837ebe3a BUG: Never return a string containing a space " " from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with space " " in the short path. 2007-06-12 11:11:07 -04:00
Alexander Neundorf 6e28861c18 ENH: remove non/scriptable cmake commands from the script handler in ctest,
as discussed with David. This also gives a better ctest man page with just
the commands you should actually use in ctest scripts.
Until now these commands were more or less executed, but e.g. add_executable() didn't create an executable, project() failed with an
error. Now you get an error instantly if using one of these commands.

Alex
2007-06-12 10:56:40 -04:00
Bill Hoffman c64447c368 ENH: make sure working directory is set 2007-06-12 10:19:13 -04:00
Alexander Neundorf e9c163762e STYLE: remove argument bool fast, it was unused
Alex
2007-06-12 09:40:36 -04:00
Alexander Neundorf 3ca8c8d946 COMP: remove warning about unused variable
Alex
2007-06-12 08:23:24 -04:00
Andy Cedilnik b063c0c07b STYLE: Nightly Version update 2007-06-11 17:00:56 -04:00
Alexander Neundorf 6c02ec1a40 STYLE: add a comment about SetLanguageEnabled()
-add a Generic.cmake for target platforms without operating system

Alex
2007-06-11 15:47:35 -04:00
David Cole ed1a04360a BUG: Never return a string containing a ":" from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with ":" in the short path. Also, fix the Bullseye coverage handler so that the file names and paths match in both the coverage summary and the individual coverage logs. 2007-06-11 15:36:50 -04:00
Alexander Neundorf 422dc631b6 ENH: split cmGlobalGenerator::SetLanguageEnabled() in two parts, where the
second part copies the values from the cmake variables into internal maps.
So this can now be done after the compiler-specific information has been
loaded, which can now overwrite more settings.

Alex
2007-06-11 15:31:42 -04:00
Alexander Neundorf 1b68e41b08 STYLE: determineLanguageCalled removed, now the conditional code is directly
called in the only place where it could be set to true

Alex
2007-06-11 14:28:31 -04:00
Brad King dfb79bea23 STYLE: Removed unused reference to cmMakeDepend. 2007-06-11 12:40:41 -04:00
Brad King 28e94533dd BUG: More problems with cmMakefile copy-constructor. It seems the regular expression class cannot be assigned but does not enforce this limitation at compile time. 2007-06-11 10:25:40 -04:00
Alexander Neundorf 4ed167090e ENH: enable cvs or svn support if the source has the CVS/.svn subdirs
Alex
2007-06-10 19:51:26 -04:00
Andy Cedilnik e3e6b02096 STYLE: Nightly Version update 2007-06-10 15:56:38 -04:00
Andy Cedilnik 5361794aca STYLE: Nightly Version update 2007-06-09 02:39:25 -04:00
Brad King 5e0da0b0eb BUG: Copy constructor needs to copy regular expression members. 2007-06-08 17:44:36 -04:00
Alexander Neundorf 33fe9c027f ENH: fail if an unknown target is listed
Alex
2007-06-08 16:19:13 -04:00
Alexander Neundorf e37f8e2964 STYLE: create command documentation for ctest
I think some of the cmake commands should be removed from ctest if possible,
like add_executable etc.

Alex
2007-06-08 16:06:33 -04:00
Ken Martin d1c4a0bf9e BUG: fix timeout bug with global timeouts such as DART_TESTING_TIMEOUT 2007-06-08 14:16:04 -04:00
Brad King 546d7e72d9 BUG: Fixed spelling and formatting of new documentation. 2007-06-08 13:43:17 -04:00
Alexander Neundorf 96bb8da184 COMP: less warnings
Alex
2007-06-08 12:42:29 -04:00
Bill Hoffman 93c0384f48 ENH: use new covbr that does not stop on error 2007-06-08 12:29:40 -04:00
Alexander Neundorf 0ddc9f62e5 ENH: add cmExternalMakefileProjectGenerator, which should make it easier to
write generators for IDE projects, which use already existing makefiles
(current the kdevelop generator)
-first stept of the export interface, iniitial export() command
-more replacements for the FIND_XXX docs

Alex
2007-06-08 11:57:16 -04:00
Andy Cedilnik eec01a31d7 STYLE: Nightly Version update 2007-06-08 09:29:50 -04:00
Alexander Neundorf 01eea01f21 STYLE: fix typo (bug #5115)
Alex
2007-06-08 09:19:19 -04:00
Alexander Neundorf e737d7d07a STYLE: add documentation for CMAKE_FIND_ROOT_PATH
Alex
2007-06-07 14:57:32 -04:00
Alexander Neundorf ea26cc537e BUG: fix Bootstrap test
Alex
2007-06-07 14:31:56 -04:00
Alexander Neundorf b956fc2406 STYLE: remove out commented code
Alex
2007-06-07 13:51:17 -04:00
Alexander Neundorf 18cc1228bb ENH: also remove uninitialized from the cache
Alex
2007-06-07 10:41:52 -04:00
Alexander Neundorf ae035f7c90 BUG: fix #5137, now with the modified CMakeDetermineSystem.cmake the
CMAKE_HOST_SYSTEM_xxx variables have to be preset, not the CMAKE_SYSTEM_xxx
ones

Alex
2007-06-07 09:37:54 -04:00
Alexander Neundorf 8d0550e4e2 STYLE: remove wrong comments
Alex
2007-06-07 08:29:15 -04:00
Brad King db0f26e852 BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This fixes the original fix to bug#4393 and adds a test. 2007-06-06 16:20:02 -04:00
Andy Cedilnik d016b69af3 STYLE: Nightly Version update 2007-06-06 15:05:36 -04:00
Andy Cedilnik 62e7e34514 STYLE: Nightly Version update 2007-06-06 11:46:12 -04:00
Bill Hoffman af0b15aff4 ENH: remove some stuff to improve coverage 2007-06-06 11:26:06 -04:00
Ken Martin a175613a56 BUG: better passing of global TIMEOUT to internal ctest invocaitons 2007-06-06 11:02:24 -04:00
Bill Hoffman 80de27ace5 ENH: fix case problem with drive letters and cmake vs CMakeSetup build.make changing 2007-06-06 10:44:20 -04:00
Alexander Neundorf c9f1af3913 ENH: add IF(IS_ABSOLUTE path), so no regex matching is required in the cmake scripts
Alex
2007-06-06 08:49:18 -04:00
Alexander Neundorf 1358009382 STYLE: fix comment
Alex
2007-06-05 16:37:27 -04:00
Alexander Neundorf 179943bf14 STYLE: move ForceVerboseMakefiles to cmGlobalUnixMakefileGenerator3, so the
kdevelop generator doesn't need its own CreateLocalGenerator() anymore

Alex
2007-06-05 16:35:24 -04:00
Bill Hoffman 937afc6b9b ENH: fix for aix 2007-06-05 09:19:27 -04:00
Andy Cedilnik 7b6f03423d STYLE: Nightly Version update 2007-06-05 09:05:41 -04:00
Bill Hoffman d2b3e06cd0 ENH: prevent crash 2007-06-04 17:17:53 -04:00
Andy Cedilnik 3e57d1f8ad STYLE: Nightly Version update 2007-06-04 17:16:10 -04:00
Alexander Neundorf 74750610cf ENH: determine typesize by compiling a file and reading strings from the compiled output.
Tested with various gcc, XCode, MSVC7, sdcc
For OSX when doing TRY_COMPILE() CMAKE_OSX_ARCHITECTURES is used, if there are different results an error is generated. CMAKE_OSX_ARCHITECTURES can be overwritten for the TRY_COMPILES with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES.

Alex
2007-06-04 17:08:46 -04:00
Brad King e40c51dddf BUG: Fixed cmCommandArgumentLexer no-escape mode to not match backslash-escape sequences as lexical tokens at all. Needed to configure files with backslashes preceding an @VAR@ replacement. This fixes bug#5130. 2007-06-04 15:57:33 -04:00
Alexander Neundorf e9fc2cb086 STYLE: fix typo: now double space after -D
Alex
2007-06-04 13:50:34 -04:00
Alexander Neundorf 003654670b ENH: -U for removing variables now uses globbing expressions
-cmCacheManager: now also variables with type UNINITIALIZED are saved in
CMakeCache.txt, these are the vars defined using -DFOO=foo but without type

Alex
2007-06-04 13:48:11 -04:00
Ken Martin 8fdca686b3 ENH: fix passing of time limit to some ctest invocations that also use build-options 2007-06-04 13:39:43 -04:00
Andy Cedilnik 3bcec6e36c STYLE: Nightly Version update 2007-06-03 10:48:11 -04:00
Bill Hoffman fe1c4649ef ENH: remove debug that caused tests to fail 2007-06-02 16:15:01 -04:00
Andy Cedilnik f1745fbb8d STYLE: Nightly Version update 2007-06-02 06:33:59 -04:00
Bill Hoffman fa8f556a9d ENH: opps 2007-06-01 23:06:14 -04:00
Bill Hoffman 7bdad54614 ENH: initial bullseye stuff 2007-06-01 15:40:07 -04:00
Alexander Neundorf 0be0283f30 BUG: also put a variable into the cache when defined using -D if no type is
given, then STRING is used. Also add command line option -U as suggested for
undefining cache variables. This fixes #4896 and #4264.

Alex
2007-06-01 14:16:46 -04:00
Alexander Neundorf eddf1cf39f ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now
creates two cache variables, one for the RUN_RESULT, one for the RUN_OUTPUT
(if required), which can be set or preset by the user. It has now also two
new arguments: RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old
OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE is used the
run time output of the TRY_RUN is unused and the user doesn't have to care
about the output when crosscompiling. This is now used in FindThreads.cmake,
CheckC/CXXSourceRuns.cmake and TestBigEndian.cmake, which used the output
only for the logfile (compile output is still there). Test/TryCompile/ now
also tests the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and
COMPILE_OUTPUT_VARIABLE.

Alex
2007-06-01 11:16:29 -04:00
Alexander Neundorf 26a5a295eb ENH: also handle comments for variables which contain newlines
Alex
2007-06-01 11:06:48 -04:00
Bill Hoffman 8cba2c55f9 BUG: fix crash, bug 5121 2007-06-01 09:18:08 -04:00
Andy Cedilnik fa858bc22c STYLE: Nightly Version update 2007-05-31 22:06:35 -04:00
Alexander Neundorf 66580ab341 ENH: if get_target_property() doesn't find a target with the given name, it
returns now "<NAME_OF_VAR>-NOTFOUND" instead of just "NOTFOUND", which can help
in finding problems

Alex
2007-05-31 12:03:52 -04:00
Andy Cedilnik a8d96319bb STYLE: Nightly Version update 2007-05-30 05:28:09 -04:00
Alexander Neundorf cfee916b7c COMP: less warnings with msvc8
Alex
2007-05-29 08:42:39 -04:00
Andy Cedilnik 25c6073080 STYLE: Nightly Version update 2007-05-29 05:26:30 -04:00
Brad King fac5d4845a BUG: Finished previous fix. 2007-05-28 17:49:03 -04:00
Brad King b4fb25941a COMP: Fixed shadowed local warning. 2007-05-28 13:46:10 -04:00
Brad King 25db01d7c4 ENH: Removed unused methods that should never be used anyway. 2007-05-28 13:32:17 -04:00
Brad King f944711917 STYLE: Fixed comment for Generate() method. 2007-05-28 12:23:32 -04:00
Brad King 3d822e3a25 ENH: Moved link library related code from GenerateSourceFilesFromSourceLists to AnalyzeLibDependencies to make the former do no more than what its name says. 2007-05-28 12:05:28 -04:00
Brad King 09289aadb6 ENH: Removed "Used" mark from custom commands. It is no longer needed or checked by any generators. 2007-05-28 11:18:15 -04:00
Brad King 60f02a27db ENH: Remove unused build rules from Xcode. This change was made in the VS generators on 2006-03-23 and should have been made for the Xcode generator too. Also commented out some debug print statements. 2007-05-28 11:16:50 -04:00
Brad King 0fa1bd2f71 COMP: Fix build on mac after change to GetSourceFiles signature. 2007-05-28 11:03:11 -04:00
Brad King 14d50b086f COMP: Fix build of XCode generator after change to GetSourceFiles signature. 2007-05-28 11:02:45 -04:00
Andy Cedilnik 2ea5caf13c STYLE: Nightly Version update 2007-05-28 11:02:27 -04:00
Brad King 27a0677d3e COMP: Fix build for windows-only generators after change to GetSourceFiles signature. 2007-05-28 11:00:26 -04:00
Brad King 3f2dd9bc54 ENH: Made cmTarget::GetSourceFiles method return reference to const so addition of cmSourceFile pointers must be done with an access method in cmTarget. 2007-05-28 10:25:03 -04:00
Brad King ba8ec0d5cf ENH: Made cmSourceFile::GetDepends return reference to const so dependencies can be added only by an access method in cmSourceFile. 2007-05-28 10:11:44 -04:00
Brad King d2f62e6ac3 ENH: Made cmTarget::GetSourceLists return a reference to const so that all additions of sources must go through access methods in cmTarget. 2007-05-28 09:59:08 -04:00
Alexander Neundorf 00c9964a8c COMP: fix warning on MSVC 8: conversion from 'size_t' to 'unsigned int', possible loss of data
Alex
2007-05-28 08:31:26 -04:00
Andy Cedilnik 9b5ed0cfa9 STYLE: Nightly Version update 2007-05-27 18:47:09 -04:00
Bill Hoffman a3d4d549ba ENH: @ must be escaped in xcode projects 2007-05-27 10:32:22 -04:00
Andy Cedilnik 4168dba9d9 STYLE: Nightly Version update 2007-05-27 04:31:38 -04:00
Andy Cedilnik 123a81088c STYLE: Nightly Version update 2007-05-26 14:26:00 -04:00
Alexander Neundorf 55f11b348b ENH: add option to FILE(STRINGS NO_HEX_CONVERSION) to disable automatic
conversion of hex and srec files to binary.
Without this automatic conversion, everywhere where a compiled file is parsed for strings the
a file(HEX2BIN somefile binfile) command has to be added otherwise it will
not work for these compilers. I tried this with DetermineCompiler and
CheckTypeSize and nobody will do this except the users who work with such
compilers. For them it will break if they don't add this conversion command
in all these places.
If FILE(STRINGS) is used with a text file, it
will in most cases still work as expected, since it will only convert hex
and srec files. If a user actually wants to get text out of hex files, he
knows what he's doing and will see the hint in the documentation.

Anyway, it should work without having to create a temporary file, will work
on this later.

Alex
2007-05-25 16:46:50 -04:00
Alexander Neundorf d6f779a9b0 COMP: less warnings (signed vs. unsigned)
Alex
2007-05-25 16:23:57 -04:00
Brad King 775f012fae BUG: Need to create global targets before AddHelperCommands is called. We should investigate creating global targets at the beginning of the configure step even if their commands are not populated or if they will not actually be generated later. 2007-05-25 15:51:33 -04:00
Alexander Neundorf f4eb541880 ENH: make the compiler id detection work, even if the output file name of
the compiler is completely unknown and even if it produces intel hex or
motorola s-record files, with test

Alex
2007-05-25 15:22:22 -04:00
Alexander Neundorf 1ed238c7f5 BUG: remove debug output
Alex
2007-05-25 12:05:59 -04:00
Brad King 22a1df0576 BUG: Fix FILES mode after recent changes. 2007-05-25 11:08:52 -04:00
Brad King 92ec498b8c BUG: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to install under the prefix like they did before the recent changes. 2007-05-25 11:01:20 -04:00
Andy Cedilnik 9192d1d153 STYLE: Nightly Version update 2007-05-25 06:55:01 -04:00
Bill Hoffman d0f12061c3 ENH: add copy header stuff 2007-05-24 17:06:32 -04:00
Alexander Neundorf c9aecb91cc STYLE: remove debug output, fix indentation
the tests run again successfully, but since CheckTypeSize will switch to a
TRY_COMPILE soon I will look at it again after this change

Alex
2007-05-24 16:03:39 -04:00
Alexander Neundorf 504ea6df4e COMP: try to fix the test failures on dash2
Alex
2007-05-24 14:30:09 -04:00
Alexander Neundorf 7147c3e1cc ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable can
be used e.g. for getting strings out of it.

Alex
2007-05-24 12:06:59 -04:00
Alexander Neundorf 7d7aba292c ENH: add two simple tests for TRY_RUN()
STYLE: create a new base class cmCoreTryCompile, from which
cmTryCompileCommand and cmTryRunCommand are derived, so there are no public
static functions with lots of arguments anymore

Alex
2007-05-24 11:27:51 -04:00
Alexander Neundorf 00e6d62fd1 ENH: move output file search to cmTryCompileCommand.cxx, so it can be used
there too... many public static functions with lots of arguments... :-/

Alex
2007-05-24 08:56:14 -04:00
Alexander Neundorf 79756b0e67 BUG: don't use non-imported target when cross compiling as commands in custom commands
STYLE: remove now invalid comments, use this->

Alex
2007-05-24 08:43:31 -04:00
Alexander Neundorf 1835c327ff STYLE: use "items" instead od "item"
Alex
2007-05-24 08:18:46 -04:00
Andy Cedilnik 4df8826d6c STYLE: Nightly Version update 2007-05-24 05:26:22 -04:00
Brad King 5639c69d39 ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not targets. 2007-05-23 18:23:17 -04:00
Brad King 9d75da9eaf ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not targets. 2007-05-23 18:22:52 -04:00
Brad King ea44d68cb6 BUG: Need to use GetRealDependency for custom command file-level dependencies. 2007-05-23 17:21:08 -04:00
Brad King ba7780a3c4 ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create targets. No targets of type cmTarget::INSTALL_FILES or cmTarget::INSTALL_PROGRAMS are created, so we do not need to check for them everywhere anymore. 2007-05-23 15:40:12 -04:00
Brad King c288da754a BUG: Target names in the COMMAND part of a custom command should not create a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works. 2007-05-23 13:27:00 -04:00
Brad King 702d785c9a BUG: Add ./ to custom command executables in the top of the build tree even when the path is generated by target name replacement. 2007-05-23 12:05:05 -04:00
Alexander Neundorf 526b72e12c COMP: don't user string::clear(), fix warnings about unused variables
Alex
2007-05-23 08:24:29 -04:00
Andy Cedilnik 1d84b36935 STYLE: Nightly Version update 2007-05-22 17:10:02 -04:00
Alexander Neundorf bef8d3580b COMP: compile fix
Alex
2007-05-22 11:05:59 -04:00
Alexander Neundorf b37cc6072f COMP: compile fix and remove warning
Alex
2007-05-22 10:42:37 -04:00
Alexander Neundorf 4878c00905 ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates an
"imported" executable target. This can then be used e.g. with
ADD_CUSTOM_COMMAND() to generate stuff. It adds a second container for
"imported" targets, and FindTarget() now takes an additional argument bool
useImportedTargets to specify whether you also want to search in the
imported targets or only in the "normal" targets.

Alex
2007-05-22 10:24:59 -04:00
Andy Cedilnik b759765134 STYLE: Nightly Version update 2007-05-22 04:14:07 -04:00
Andy Cedilnik a7a1e40afa STYLE: Nightly Version update 2007-05-21 05:03:43 -04:00
Andy Cedilnik fe1f147dc0 STYLE: Nightly Version update 2007-05-20 02:39:38 -04:00
Brad King 4259c7c1e4 COMP: Fix for borland now that components list check is const. 2007-05-19 09:55:18 -04:00
Andy Cedilnik 7cd767ca48 STYLE: Nightly Version update 2007-05-18 20:51:40 -04:00
Alexander Neundorf 9670a8c485 ENH: 2nd try to move stripping out of cpack and to install time, now if
CPACK_STRIP_FILES is true (or contains a list of files), everything will be
stripped, if it's empty or false they won't be stripped

Alex
2007-05-18 14:41:09 -04:00
Alexander Neundorf df8f550029 ENH: add install/strip target for makefile generators if strip was found
Alex
2007-05-18 13:43:39 -04:00
Alexander Neundorf a18d286635 ENH: move hack to fix "new cmake on old build tree on OSX doesn't have CMAKE_INSTALL_NAME_TOOL in the cache" from
cmInstallTargetGenerator.cxx to Darwin.cmake

Alex
2007-05-18 11:57:29 -04:00
Alexander Neundorf d64dc9b5bb COMP: force a recompile on VS71
Alex
2007-05-18 11:45:18 -04:00
Brad King 92c0f41251 ENH: Use CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES from platform files to block link directories. 2007-05-18 11:36:23 -04:00
Alexander Neundorf 891f2130cf COMP: fix link rules with nmake, the linker command has to be converted to shortpath form for nmake
Alex
2007-05-18 10:32:22 -04:00
Bill Hoffman fda955e752 STYLE: fix documentation for command 2007-05-18 09:30:21 -04:00
Brad King 07fe611fc6 BUG: Added carrot (^) to characters that need quoting. The solaris shell needs it. 2007-05-18 09:17:36 -04:00
Alexander Neundorf aee311a89d STYLE: fix line lengths
Alex
2007-05-18 08:49:06 -04:00
Brad King 42a272428b BUG: Need to use GetSafeDefinition when assigning to a string. 2007-05-17 17:43:32 -04:00
Brad King 9a5b4eba97 BUG: All variable accesses should produce watch callbacks, including IF(DEFINED <var>) ones. Instead we define a new access type for IF(DEFINED) so that the error does not show up for backward compatibility variables. 2007-05-17 17:40:59 -04:00
Alexander Neundorf b47807fc15 STYLE: fix indentation
ENH: add hack to make new cmake work with older existing cmake build trees

Alex
2007-05-17 17:21:52 -04:00
Alexander Neundorf fc07a8c353 STYLE: use braces
Alex
2007-05-17 16:50:53 -04:00
Brad King 58debfd6bd ENH: Use IF(NOT DEFINED) check to short-circuit size test. 2007-05-17 15:17:45 -04:00
Brad King b8928b0c8e BUG: Do not complain about missing watched variables when they are accessd with IF(DEFINED VAR). 2007-05-17 15:12:13 -04:00
Brad King bdc7792e40 COMP: GCC 2.95 does not have std::string::clear() method. 2007-05-17 14:47:18 -04:00
Brad King 5e1dd6fb51 BUG: Some single-character arguments need quoting on windows. 2007-05-17 14:01:02 -04:00
Alexander Neundorf 61d3444f93 ENH: merge CMake-CrossCompileBasic to HEAD
-add a RESULT_VARIABLE to INCLUDE()
-add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain
-have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system)
-use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to
run the executables if they have a different suffix because they are
probably crosscompiled, but nevertheless it should be able to find them
-make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE
-support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.)
-move ranlib on OSX from the file command to a command in executed in cmake_install.cmake
-add support for stripping during install in cmake_install.cmake
-split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools
-remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms
-create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these
-add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a
list of directories which will be prepended to all search directories, right
now as a cmake variable, turning it into a global cmake property may need
some more work
-remove cmTestTestHandler::TryExecutable(), it's unused
-split cmFileCommand::HandleInstall() into slightly smaller functions

Alex
2007-05-17 13:20:44 -04:00
Brad King 9bfe711ef1 BUG: Fix ExpandListArgument when the string ends in a backslash. 2007-05-17 11:27:46 -04:00
Brad King 51fe906ab7 BUG: An empty configuration name is equivalent to no configuration. 2007-05-17 11:18:23 -04:00
Brad King c25d2bfdd2 ENH: Added testing for custom command line arguments containing all special characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make. 2007-05-17 10:53:18 -04:00
Brad King cc507411d3 ENH: Added more special unix shell characters that require quoting. Added escaping of % as %% for shells inside mingw32-make. 2007-05-17 10:53:14 -04:00
Andy Cedilnik 6a271a4bfb STYLE: Nightly Version update 2007-05-17 07:27:52 -04:00
Andy Cedilnik 65645a0d4c STYLE: Nightly Version update 2007-05-16 19:59:41 -04:00
Brad King 73197eaefa BUG: Shell escaping needs to write % as %% for VS IDE. 2007-05-16 16:19:18 -04:00
Brad King 142210997f BUG: Watcom WMake needs empty rule commands even for symbolic targets. This fixes the cmake_force target. 2007-05-16 13:24:17 -04:00
Brad King 01c7db07c3 BUG: Do not send both SIGSTOP and SIGKILL when killing a process. The SIGSTOP seems to be able to block the SIGKILL occasionally. Also the SIGKILL is sufficient since the process table entry will still exist until it is reaped with waitpid. 2007-05-16 13:10:45 -04:00
Andy Cedilnik b7b43934b8 STYLE: Nightly Version update 2007-05-16 10:36:14 -04:00
Brad King bd78952748 BUG: Do not emit /usr/lib32 or /usr/lib64 as linker paths. Submitted by David Faure. 2007-05-16 09:07:53 -04:00
Alexander Neundorf 4b33244ea5 BUG: fix segfault when trying to get the object file for a sourcefile in an
unknown language via GET_TARGET_PROPERTY(), as reported by Trevor Kellaway

Alex
2007-05-15 16:06:18 -04:00
Andy Cedilnik d940b667f8 STYLE: Nightly Version update 2007-05-15 03:59:08 -04:00
Alexander Neundorf e4b5de6377 STYLE: fix line lengths
Alex
2007-05-14 11:23:37 -04:00
Andy Cedilnik 0e7ee97d83 STYLE: Nightly Version update 2007-05-14 08:33:28 -04:00
Andy Cedilnik 643f75b878 STYLE: Nightly Version update 2007-05-13 10:59:35 -04:00
Brad King 33d976e583 COMP: Need CMake 2.4 or a bootstrap cmake that has ADD_SUBDIRECTORY to build. 2007-05-13 07:16:25 -04:00
Andy Cedilnik ef20a5f920 STYLE: Nightly Version update 2007-05-12 02:58:28 -04:00
Brad King 6c421971b9 BUG: Fixed generation of XCODE_DEPEND_HELPER.make into proper directory. Cleaned up duplicate code created by recent changes. 2007-05-11 13:52:33 -04:00
Ken Martin 0f0a83a51f ENH: more cleanup of some CMakeLists files 2007-05-11 09:02:17 -04:00
Alexander Neundorf cd0cd47416 BUG: const char* FilePath could point to a non-existent std::string for
commands used in a macro, using a std::string instead copies the contents so
this works (correct error message)

Alex
2007-05-11 08:36:05 -04:00
Andy Cedilnik d5415ec4a7 STYLE: Nightly Version update 2007-05-11 08:11:22 -04:00
Andy Cedilnik 39b6175f57 STYLE: Nightly Version update 2007-05-10 15:18:31 -04:00
Bill Hoffman 76dd86b410 BUG: fix -D escaped quotes for watcom 2007-05-10 14:43:55 -04:00
Alexander Neundorf 362f81981e STYLE: fix line length
Alex
2007-05-10 11:38:23 -04:00
Bill Hoffman 8c39efe854 ENH: make sure escaping is done for strings on the command line 2007-05-10 11:16:06 -04:00
Bill Hoffman 18b7cbd700 ENH: add test for a simple depend test, does an exe re-link if a library that it uses changes 2007-05-10 10:31:44 -04:00
Bill Hoffman 3e3413dadc ENH: fix for move of trace depends 2007-05-10 10:05:36 -04:00
Alexander Neundorf 8245f437b6 BUG: fix problem for non-C/CXX languages with Visual Studio, the
dependencies for the custom commands added for java were not handled
correctly. Needs more work.

Alex
2007-05-09 14:41:38 -04:00
Andy Cedilnik 181f4cb0af ENH: fix for older xcode and framework create 2007-05-09 10:28:32 -04:00
Brad King adcd87c976 BUG: Fixed cmLocalVisualStudio7Generator to deal with quotes in macro definitions properly. This addresses bug#4983. 2007-05-09 10:18:31 -04:00
Alexander Neundorf e701ef77d8 STYLE: functions use upper case for the first letter
Alex
2007-05-09 09:35:59 -04:00
Andy Cedilnik d00f753104 STYLE: Nightly Version update 2007-05-09 09:10:40 -04:00
Alexander Neundorf 7f11536704 ENH: now target names can be used in add_custom_command() and
add_custom_target() as COMMAND, and cmake will recognize them and replace
them with the actual output path of these executables. Also the dependency
will be added automatically. Test included.
ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(),
so it is done now in one central place

Alex
2007-05-09 08:25:45 -04:00
Bill Hoffman 5af3105021 ENH: getting closer 2007-05-08 16:37:18 -04:00
Bill Hoffman 2ed6191fce ENH: add initial xcode framework stuff 2007-05-08 15:49:54 -04:00
Bill Hoffman 39ccc4fb11 ENH: fix it so that the FRAMEWORK property does not break the building of normal shared libs on non-mac platforms 2007-05-08 11:53:39 -04:00
Andy Cedilnik e6b8aa496a STYLE: Nightly Version update 2007-05-08 11:31:02 -04:00
Bill Hoffman b39d96dff8 ENH: add a very simple framework test 2007-05-08 10:58:35 -04:00
Bill Hoffman 9323a27989 ENH: initial support for creation of frameworks on Mac 2007-05-08 10:32:54 -04:00
Andy Cedilnik 9d6c37eef6 STYLE: Nightly Version update 2007-05-07 11:43:18 -04:00
Andy Cedilnik aa072ed22e STYLE: Nightly Version update 2007-05-06 09:05:34 -04:00
Andy Cedilnik ed184c7c76 STYLE: Nightly Version update 2007-05-05 08:58:12 -04:00
Alexander Neundorf f1e02b2993 COMP: removed unused variable temp
Alex
2007-05-04 14:08:50 -04:00
Alexander Neundorf 16b1f05fc2 COMP: fix warning on VS8: conversion unsigned int -> size_t
Alex
2007-05-04 09:50:39 -04:00
Andy Cedilnik 41a0539557 STYLE: Nightly Version update 2007-05-03 20:42:53 -04:00
Ken Martin 2450835267 ENH: look at CMAKE_TRY_COMPILE_CONFIGURATION var for TryRun as well 2007-05-03 15:25:41 -04:00
Brad King aa4d7847ee COMP: Fix code-not-reached warnings for SunCC. 2007-05-03 13:03:13 -04:00
Andy Cedilnik df84f9b861 STYLE: Nightly Version update 2007-05-03 07:11:29 -04:00
Andy Cedilnik e900dca788 STYLE: Nightly Version update 2007-05-02 01:09:45 -04:00
Alexander Neundorf dcb3badcd7 STYLE: fix typo
Alex
2007-05-01 17:02:19 -04:00
Brad King c51c245efa BUG: A utility target should not run the custom commands from its source files directly. The target-level rule must add dependencies on the file-level custom commands to drive them. This bug was introduced by the "fix" to bug 4377. This also restores the documented behavior that PRE_BUILD rules are treated as PRE_LINK rules on non-VS generators. Also fixed custom command dependencies on the rule file build.make so that custom commands re-run when the commands themselves change. 2007-05-01 13:51:25 -04:00
Alexander Neundorf ef0b9ff2cc BUG: fix cmake listfile stack: if a file could not be opened, remove it from
the stack (usually CMakeCInformation.cmake and CMakeCXXInformation.cmake
which both put Linux-gcc.cmake on the stack without removing it again:
INCLUDE(... OPTIONAL) )
STYLE: better readable output formatting of the listfile stack, now in the
same order as in gdb or with include files

Alex
2007-05-01 11:46:47 -04:00
Andy Cedilnik c7873ad44a STYLE: Nightly Version update 2007-05-01 04:20:03 -04:00
Andy Cedilnik f14993a78e STYLE: Nightly Version update 2007-04-29 23:33:25 -04:00
Andy Cedilnik e7a99a22d5 STYLE: Nightly Version update 2007-04-29 03:05:55 -04:00
Andy Cedilnik ea97dbae25 STYLE: Nightly Version update 2007-04-28 12:35:57 -04:00
Brad King bceb1532c6 STYLE: Fixed line too long. 2007-04-28 08:25:10 -04:00
Andy Cedilnik be04cb2c45 STYLE: Nightly Version update 2007-04-27 10:26:38 -04:00
Andy Cedilnik a7019a5253 STYLE: Add somme comments 2007-04-27 09:01:22 -04:00
Andy Cedilnik 64e0459f93 ENH: Initial attempt to do python coverage. Hopefully will not break coverage on GCov 2007-04-26 23:20:12 -04:00
Andy Cedilnik 1d4613a63b ENH: Add STRING STRIP command 2007-04-26 21:50:52 -04:00
Brad King 6697979aaf COMP: Avoid warning. 2007-04-26 09:56:04 -04:00
Andy Cedilnik 93c2ab934e STYLE: Nightly Version update 2007-04-26 07:58:54 -04:00
Brad King b81eff588d STYLE: Fixed line-too-long. 2007-04-25 17:48:51 -04:00
Brad King 0fb689973e ENH: Added FILE(STRINGS) command. 2007-04-25 17:22:07 -04:00
Andy Cedilnik 2a610dc552 STYLE: Nightly Version update 2007-04-25 05:01:41 -04:00
Bill Hoffman 31e3e829dd ENH: fix docs 2007-04-24 14:03:25 -04:00
Bill Hoffman 32aecc84a1 ENH: fix seg fault in ccmake when hitting configure twice 2007-04-24 12:30:25 -04:00
Andy Cedilnik 04448b9e03 STYLE: Nightly Version update 2007-04-24 01:52:03 -04:00
Brad King cdc161f380 COMP: Added missing include for time. 2007-04-23 16:48:56 -04:00
Ken Martin c4fc2c19c7 ENH: Add command to generate random strings 2007-04-23 11:04:12 -04:00
Andy Cedilnik e9361e41f3 STYLE: Nightly Version update 2007-04-22 23:55:06 -04:00
Andy Cedilnik 472c05cdcd STYLE: Nightly Version update 2007-04-21 18:37:35 -04:00
Brad King 1ef33c6c04 COMP: Make sure gcc 2.96 sstream header is not used. 2007-04-20 11:53:35 -04:00
Brad King 60d0d429b8 COMP: Added istringstream::clear() method to disambiguate the call from using string::clear or istrstream::clear. 2007-04-20 09:50:46 -04:00
Brad King 0b0258c548 BUG: Reverting previous change. It did not account for the possibility that the loaded command was built with a different compiler. 2007-04-20 09:49:27 -04:00
Andy Cedilnik b85d7d9c66 STYLE: Nightly Version update 2007-04-20 04:33:20 -04:00
Brad King a43b3cc801 BUG: Need to clear read failure when string is reset. 2007-04-19 12:56:07 -04:00
Brad King 6984c09310 ENH: Added testing for istringstream and stringstream. 2007-04-19 12:53:13 -04:00
Brad King 94e27c1073 BUG: Fix stream state on successfully reading a string. 2007-04-19 12:44:04 -04:00
Brad King ded4cb6f8d COMP: Fixes for Watcom. 2007-04-19 12:12:19 -04:00
Brad King d5cb9b1a0d COMP: Skip testAutoPtr and testHashSTL on Watcom. They are hopeless. 2007-04-19 12:11:56 -04:00
Brad King d75bfedab5 COMP: Need to include header for unlink function. 2007-04-19 12:11:16 -04:00
Brad King 16be80b7b4 ENH: Added support for Watcom compiler. Added TODO comment about calling conventions. 2007-04-19 11:31:55 -04:00
Brad King a7efb3feb7 ENH: Removed code unnecessary now that DynamicLoader is implemented better. 2007-04-19 11:23:04 -04:00
Brad King 28f6b148f6 ENH: Fixed stl string streaming operators for Watcom. 2007-04-19 11:21:35 -04:00
Andy Cedilnik affd99a9a9 STYLE: Nightly Version update 2007-04-19 04:01:16 -04:00
Brad King 47159b69be BUG: Fix ComputeLinkInformation. When using a loader_flag link item the full per-configuration path should be used. The fullPathLibs returned should refer to the import library if it was used. Since the full paths are used for dependencies the executable used with loader_flag should be returned also. 2007-04-18 09:56:06 -04:00
Andy Cedilnik 1b00feb0de STYLE: Nightly Version update 2007-04-18 04:12:51 -04:00
Brad King 3fe86c98cf ENH: Plugin test should now work on QNX. 2007-04-18 00:12:16 -04:00
Brad King 4241e699c7 BUG: Cannot escape link items because some need the spaces to separate arguments. Instead just escape the argument to the loader flag. 2007-04-18 00:04:56 -04:00
Brad King 721ff36924 ENH: Added platform variable CMAKE_EXE_EXPORTS_<lang>_FLAG to add a linker flag when building executables that have the ENABLE_EXPORTS property set. 2007-04-17 23:39:47 -04:00
Brad King 07b9423e7d BUG: Fix ComputeLinkInformation for non-linked targets. Why is it called for utility targets anyway? 2007-04-17 23:16:35 -04:00
Brad King fc9ceda5e7 ENH: Fixed Plugin test on Cygwin. 2007-04-17 18:18:42 -04:00
Brad King cb190cdb87 BUG: Disable Plugin test on Cygwin until it is implemented. 2007-04-17 16:42:15 -04:00
Brad King fe5386be81 ENH: Re-enabling Plugin test now that it should work on MacOSX. I will let it run one night to see what platforms are still not implemented. Currently it is not run on QNX because it is known to not be implemented there. 2007-04-17 16:34:07 -04:00
Brad King f9f5772557 ENH: Added use of platform variable CMAKE_SHARED_MODULE_LOADER_<lang>_FLAG to add a special flag when linking a plugin to an executable that loads it. 2007-04-17 16:11:00 -04:00
Brad King 84584e1184 BUG: Disable Plugin test until it works everywhere. 2007-04-17 15:06:04 -04:00
Brad King 0164f2faae ENH: Added test for executables with plugins that use an API exported by the executable itself. 2007-04-17 14:08:30 -04:00
Andy Cedilnik c50dabff02 STYLE: Nightly Version update 2007-04-17 04:48:21 -04:00
Andy Cedilnik 0aae2ce6ec STYLE: Nightly Version update 2007-04-16 04:03:17 -04:00
Andy Cedilnik ee4ab6385e STYLE: Nightly Version update 2007-04-15 03:46:09 -04:00