Commit Graph

3224 Commits

Author SHA1 Message Date
Brad King 2716ac3966 BUG: Fixed parsing of unquoted arguments to allow double-quotes within the argument. 2004-06-18 10:51:10 -04:00
Bill Hoffman 7ce0ee3437 clean up documentation 2004-06-16 09:45:16 -04:00
Bill Hoffman 6ccbfe9795 clean up commands so they don't need extra variable 2004-06-16 09:44:03 -04:00
Brad King 4df215a268 Removing automatic addition of a -I path for the current source directory.
This is not consistent with the Visual Studio generators which do not
provide this path.  It should not be added anyway because it is adding
an include path not requested by the CMakeLists.txt code.  The code I'm
removing was originally added in revision 1.17 of cmUnixMakefileGenerator.cxx
as a part of several other changes and has a commit log entry of

  "some bug fixes"

It was propagated from their to cmLocalUnixMakefileGenerator.cxx.
Since all our projects build in the VS IDE without this include path, it should not be needed.  Users can easily fix problems caused by this by adding

  INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})

to their CMakeLists.txt code.  This was often necessary previously when a
project was originally written on a Unix system and then built with
Visual Studio.
2004-06-15 11:52:58 -04:00
Bill Hoffman 1d061ae896 fix include order because of GetCurrentDirectory define and windows.h problem 2004-06-15 08:30:22 -04:00
Bill Hoffman b6466061cb ENH: add NDEBUG to windows release builds for both ide and nmake 2004-06-14 12:16:25 -04:00
Ken Martin a18fbc3b37 added strequal 2004-06-14 12:02:12 -04:00
Andy Cedilnik dcb3bf0548 ERR: On Mac we need GET_SOURCE_FILE_PROPERTY for building curl 2004-06-14 11:23:31 -04:00
Bill Hoffman c15adc9221 BUG: fix sub project path problem 2004-06-14 10:28:04 -04:00
Bill Hoffman a014eee86a BUG: fix crash for if statment due to bad microsoft docs on deque BUG id 917 2004-06-11 15:07:17 -04:00
Bill Hoffman b17c6ac905 fix bug on mac if COMPILE FLAGS are not set then you end up with NOTFOUND as a compile flag. 2004-06-11 12:52:19 -04:00
Ken Martin 94847d0aa7 BUG#891: When building CMake itself, use the new cmake to install so that the current cmake can be overwritten. 2004-06-09 18:56:00 -04:00
Ken Martin 4b55ff7749 ERR: Do not use the binary directory as a regular expression. 2004-06-09 18:01:44 -04:00
Ken Martin 9e85e3a27e ERR: Disable long double warnings on xlC for the Mac. 2004-06-09 17:50:13 -04:00
Ken Martin 1a6030c6a6 BUG: Files in top-level directory of source tree were not reported in updates log. 2004-06-09 17:36:52 -04:00
Andy Cedilnik 699a6cfe38 BUG: Even if update fails it should produce valid XML 2004-06-09 11:19:46 -04:00
Ken Martin 8de4534d69 support for floating ponit strides 2004-06-08 17:36:30 -04:00
Bill Hoffman 32ccf38c58 BUG: undo last bug fix because it breaks cmake, rebuild_cache on ParaView gets tons of errors about not being able to create the bin directory 2004-06-07 21:41:53 -04:00
Brad King a2949c204d BUG: Do not create a directory on top of a file. 2004-06-07 13:55:20 -04:00
Andy Cedilnik ab579c5108 ERR: Remove warning 2004-06-07 08:51:20 -04:00
Brad King 23b81b7469 ERR: Do not add the library if no sources are used. 2004-06-04 14:59:05 -04:00
Andy Cedilnik 92fcca4fb8 ENH: Implement scp submission 2004-06-02 13:39:25 -04:00
Bill Hoffman 2936c54cdd ENH: make sure find library does not find directories 2004-06-01 12:19:44 -04:00
Bill Hoffman 8d1a5c48e7 BUG: fix for 871, include external should work for 7.1 and 7.0 2004-06-01 12:07:01 -04:00
Andy Cedilnik b97ad900c0 ENH: Fix bug in cmake install when exec/librayr output path not defined. Closes Bug #899 - subdir INSTALL_TARGETS INSTALL_PROGRAMS dont work 2004-06-01 11:30:59 -04:00
Andy Cedilnik c56547a3f9 ENH: Fix preorder. This caused preorder to not work and the test passed because of jump-over rule 2004-06-01 09:58:00 -04:00
Ken Martin 27deb152b6 ctest -S support for multiple ctest command arguments 2004-05-28 15:02:16 -04:00
Andy Cedilnik 42bc978b5b BUG: When creating a test driver, do not remove the old file, so if nothing changes, it will not rebuild. Fixes Bug #885 - cmCreateTestSource overwrite file when running cmake 2004-05-27 12:56:52 -04:00
Andy Cedilnik d1470b7d7c ENH: Detect if there were problems writing file 2004-05-27 12:53:15 -04:00
Ken Martin 757cec6caa added another error string and change the -I option some 2004-05-26 15:27:38 -04:00
Ken Martin e67ffe8527 better error message 2004-05-25 11:20:38 -04:00
Bill Hoffman f49e76899c ENH: speed up for NOTFOUND 2004-05-21 11:52:07 -04:00
Bill Hoffman d655b65256 ENH: fix rerun of cmake command 2004-05-21 09:51:44 -04:00
Bill Hoffman 35cacf367b BUG: back out change due to broken dashboard 2004-05-20 21:27:37 -04:00
Bill Hoffman 66288b115e ENH: remove regex use where strcmp is faster 2004-05-20 17:33:58 -04:00
Andy Cedilnik 3031467e33 ENH: Implement additional make clean files as a directory property instead of cmake variable 2004-05-20 16:56:34 -04:00
Bill Hoffman 17d6f9e170 BUG: allow cursor to be changed by the OS 2004-05-20 16:39:05 -04:00
Bill Hoffman 70eaddbf8e BUG: make sure global generate is done when cmakelist file chagnes, also make sure guids are stored in the cache so the .sln file does not change every time 2004-05-20 16:29:09 -04:00
Ken Martin d7c6f51d00 updates to gui to delete cache 2004-05-20 15:08:18 -04:00
Ken Martin 6665adc3ff added error 2004-05-20 13:15:49 -04:00
Bill Hoffman f82c1bfc8d ENH: make it run much faster 2004-05-19 16:04:48 -04:00
Bill Hoffman 0ace9ada2c ENH: change ADDITIONAL_MAKE_CLEAN_FILES to work with spaces in the path and on windows with no spaces 2004-05-17 15:56:34 -04:00
Ken Martin 5fc2cf6b7c new feature for continuous clean once 2004-05-13 13:41:47 -04:00
Brad King b6fb2fe8f9 BUG: Do not wait for children to exit when killing them. Sometimes they do not really die. 2004-05-13 10:08:09 -04:00
Ken Martin 5b145fe592 fix warning 2004-05-12 15:34:06 -04:00
Ken Martin 79fcc81b6a better error checking for FOREACH 2004-05-12 14:32:25 -04:00
Andy Cedilnik 0b2bdfa289 ENH: Add some ctest coverage 2004-05-10 18:06:11 -04:00
Andy Cedilnik 04016278c6 BUG: Move documentation so that it does not apear in ctest 2004-05-10 17:53:24 -04:00
Andy Cedilnik 9255e40d81 ENH: Add a way to force ctest to be a new process 2004-05-10 17:44:29 -04:00
Will Schroeder 26e8d63b80 ENH: Added regex. 2004-05-10 16:55:05 -04:00
Brad King 81bd499376 BUG: Need to recognize -B linker options. 2004-05-10 16:40:04 -04:00
Brad King 6c4ab7ec52 ENH: Adding native windows process tree kill to ProcessWin32.c. This replaces the ProcessWin32Kill.c implementation. 2004-05-10 14:54:22 -04:00
Brad King dd70c8f82d ERR: Avoiding namespace pollution: kw_sys -> kwsys_ns. Also undefining the macro at the correct time. 2004-05-10 13:38:33 -04:00
Brad King 5017fc66e5 ENH: Renaming kwsys macro to kwsys_ns to work around borland preprocessor bug. 2004-05-10 13:15:45 -04:00
Brad King 914a9fb3b4 ERR: Avoiding namespace pollution: kw_sys -> kwsys_ns. Also undefining the macro at the correct time. 2004-05-10 13:10:57 -04:00
Bill Hoffman 568c921673 ENH: remove extra include for compile with mingw 2004-05-10 12:08:01 -04:00
Bill Hoffman 9c0411b4f2 ENH: change to c code so it can be built with mingw 2004-05-10 12:06:24 -04:00
Bill Hoffman 2c4922f558 ENH: remove unused include file so it will build with mingw 2004-05-10 11:04:23 -04:00
Ken Martin 40e54ded44 fix for config type passing between ctests 2004-05-10 10:20:34 -04:00
Ken Martin 6bcdfdca92 some cleanup and fix for PVLocal 2004-05-09 12:27:53 -04:00
Andy Cedilnik 8da9b14cc6 ERR: On Borland preprocessor goes into recursion which adds some weid spaces in the include name. This fixes it 2004-05-07 14:22:48 -04:00
Bill Hoffman 02e90fd76c ENH: better documentation 2004-05-07 13:26:34 -04:00
Bill Hoffman 9ff7fdc74f ENH: add the ability to block popup error dialogs in tests on windows 2004-05-07 12:53:35 -04:00
Bill Hoffman 99a1ec6c6d BUG: make sure the correct state is set for expired processes 2004-05-07 12:52:46 -04:00
Ken Martin c1d9c2ce9c missing header for unix 2004-05-07 11:24:32 -04:00
Ken Martin 840339e2ed updated testingoptions for continuous dashboards 2004-05-07 10:50:11 -04:00
Bill Hoffman cc2ab62f1c BUG: make sure install works with spaces in the path 2004-05-06 16:06:18 -04:00
Brad King db4fd2a15d ENH: Adding process tree killing for Win32 process execution. 2004-05-06 15:34:04 -04:00
Brad King 7de6edc686 ERR: Added units to SetTimeout documentation. 2004-05-06 14:30:00 -04:00
Bill Hoffman cd002c0b20 BUG: fix ctest so that the search path for test executables produces better output and does not use config dir when it is not set 2004-05-06 10:30:29 -04:00
Bill Hoffman 8d41f97ff6 BUG: fix collapse full path to handle a file in the root directory 2004-05-06 10:29:29 -04:00
Ken Martin 6c0fb31d50 horrible hack 2004-05-06 09:47:25 -04:00
Ken Martin 6e17e798f5 fix for in source testing 2004-05-05 11:41:18 -04:00
Bill Hoffman 1490cecaf3 ENH: move version to 2.1 for cvs because 2.0 has been branched 2004-05-05 10:19:36 -04:00
Andy Cedilnik 23798f8a22 ENH: Remove memory leak 2004-05-05 10:13:19 -04:00
Bill Hoffman 22de04fab9 ENH: fix tests to work with in source builds 2004-05-04 14:24:25 -04:00
Ken Martin ee897e6a3c support in source builds and arg passing 2004-05-04 14:18:56 -04:00
Andy Cedilnik ea8dc0769d ENH: Only mangle object files if CMAKE_MANGLE_OBJECT_FILE_NAMES is set. Only on borland for now. 2004-05-04 11:24:32 -04:00
Ken Martin 1f6e59a7fe fix warning 2004-05-04 09:16:06 -04:00
Andy Cedilnik baee28ce9b ENH: After running test clear results for memory checking 2004-05-03 16:38:19 -04:00
Andy Cedilnik 787ca6457b ENH: Skip tests that do not have defects 2004-05-03 16:36:23 -04:00
Ken Martin 0d3bbe8123 minor backwards fix 2004-05-03 15:33:42 -04:00
Bill Hoffman 22d69a944a BUG: fix to make spaces in paths work for jump over with borland and nmake on second build 2004-05-03 12:34:25 -04:00
Brad King c93d43b09e ENH: Documented use of \1 syntax in replace expression. 2004-05-03 10:10:57 -04:00
Bill Hoffman a37157624b BUG: putenv syntax was wrong and caused a crash on the SGI 2004-05-01 22:05:18 -04:00
Ken Martin 50db27739c better if expression support 2004-05-01 10:08:14 -04:00
Andy Cedilnik 49ced45dc0 ERR: Remove warning about shadow variables 2004-05-01 09:57:35 -04:00
Andy Cedilnik 23ba009419 ENH: Add environment variable that Dart sets so that tests can know they are being tested from Dart/CTest 2004-04-30 15:17:30 -04:00
Andy Cedilnik d0fd0b55cd ENH: Report filename of the note 2004-04-30 14:14:41 -04:00
Andy Cedilnik 920aef76e0 ENH: Add support for notes in Testing/Notes subdirectory. This way test can write notes that will be reported 2004-04-30 12:36:18 -04:00
Bill Hoffman 858564fb10 BUG: remove duplicate depend on cache file and use of make variable in make target 2004-04-30 11:36:54 -04:00
Bill Hoffman 94f6dfb8a6 ENH: remove warnings 2004-04-30 10:32:45 -04:00
Brad King 5601afe384 ENH: Added automatic adjustment of C++ flags to include -timplicit_local and -no_implicit_include for the Compaq compiler on OSF. 2004-04-29 17:44:52 -04:00
Andy Cedilnik 28f6e1b194 ENH: Add ARGV and ARGN support to MACRO command. ARGV is the list of all arguments and ARGN is the list of all nonexpected arguments 2004-04-29 17:41:33 -04:00
Andy Cedilnik 8750f1c277 ENH: Add RANGE support to FOREACH 2004-04-29 15:12:40 -04:00
Andy Cedilnik ae50b4bc6a BUG: Add a safety check so that you cannot send cmOStringStream.str() to other stream and produce the funky hex number. This makes it impossible to compile such a code. Adding that exposed a whole bunch of places in CMake where streams were used wrongly 2004-04-29 14:51:08 -04:00
Andy Cedilnik d5763a8c98 BUG: Most of time when asking if file exists, we actually want to read it... Should fix Bug #809 - FIND_INCLUDE should check readability 2004-04-29 13:25:02 -04:00
Bill Hoffman 7ca0eb8bbc ENH: remove warning 2004-04-29 13:13:44 -04:00
Bill Hoffman 56f960296f ENH: remove warnings 2004-04-29 12:33:18 -04:00
Bill Hoffman 55af104169 BUG: fix crash from bug id 806 2004-04-29 10:26:22 -04:00
Bill Hoffman 1620242ac4 ENH: remove warning 2004-04-28 14:25:26 -04:00
Bill Hoffman e34c83540d BUG: fix for bug 121 add some docs for MFC flag 2004-04-28 13:40:58 -04:00
Bill Hoffman a6b60841db BUG: fix for bug 116 platform files can now specify directories that should not be added by CMAKE 2004-04-28 13:21:56 -04:00
Bill Hoffman e539cf9f7c ENH: make test driver more flexible by using a configured file instead of generating all the code. fixes bug 28 2004-04-28 12:31:18 -04:00
Andy Cedilnik df31c576dc ENH: Add support for automatically preloaded cmake file. Closes Bug #802 - Add auto preload file support in CMake 2004-04-28 10:52:20 -04:00
Andy Cedilnik ddf814f964 ENH: Encode object files with funny characters in the name. It should fix Bug #418 - Borland 5.5.1, Templates/*.cxx files with '+' chars used in execs 2004-04-28 10:15:40 -04:00
Bill Hoffman c472345346 BUG: fix logic in EQUAL if test 2004-04-28 09:59:16 -04:00
Bill Hoffman d76c9f8195 ENH: add a numeric EQUAL to the IF statment, very useful for variable arguments in MACROS 2004-04-28 09:51:06 -04:00
Andy Cedilnik b2bddc9f0d ENH: Add LOCATION to GET_TARGET_PROPERTY. Closes Bug #34 - Add to GET_TARGET_PROPERTY location of target 2004-04-27 12:03:17 -04:00
Andy Cedilnik 5a5cd54730 ENH: GetSafeDefinition is now in cmMakefile 2004-04-27 12:02:32 -04:00
Andy Cedilnik e09e1679ab ENH: Add method to get definition even if it does not exists 2004-04-27 11:30:31 -04:00
Andy Cedilnik 482eef7112 BUG: Fix aus source dir and add better testing of it 2004-04-27 09:22:57 -04:00
Bill Hoffman c19a70b3ad WRN: remove warnings 2004-04-27 08:30:25 -04:00
Andy Cedilnik 5a4a6a57d1 ENH: Another one of those nasty hex numbers in the ctest output 2004-04-26 18:51:47 -04:00
Bill Hoffman ec0626e54d ENH: fix for bug id 27, add a signal handler for crashes in loaded commands 2004-04-26 17:45:53 -04:00
Andy Cedilnik d6090a2395 ENH: When source file is in subdirectory put object file in subdirectory. Fixes Bug #290 - Source files in subdirectories should produce object files in subdirectories 2004-04-26 17:32:56 -04:00
Andy Cedilnik 34115a5989 BUG: Fix resolving of infinite loops while CMakeSetup/ccmake still running 2004-04-26 11:23:06 -04:00
Ken Martin 2d53fcf035 macros now support varargs 2004-04-26 11:11:57 -04:00
Brad King 7c0844d2f4 BUG#682: Adding environment variable check to FIND_PACKAGE command. 2004-04-26 11:00:41 -04:00
Brad King b6f7e08242 STYLE: Removed trailing whitespace. 2004-04-26 10:49:34 -04:00
Bill Hoffman 71b57bc454 BUG: fix for bug 769 CMAKE_STANDARD_LIBRARIES now used in ides 2004-04-23 16:26:21 -04:00
Andy Cedilnik aff8c7bcd6 ENH: Add GET/SET_DIRECTORY_PROPERTY/PROPERTIES commands so that we can change include directories and get all sorts of things. Closes Bug #25 - Get_CMAKE_PROPERTIES 2004-04-23 16:20:36 -04:00
Bill Hoffman 0b7d154ebd ENH: add verbose make abilility to visual studio 7 2004-04-23 13:12:33 -04:00
Bill Hoffman 8b0b749a11 ENH: add SUBDIR PREORDER and fix clean for non-relative paths 2004-04-23 12:52:48 -04:00
Andy Cedilnik eae3d4cf06 ENH: Unify with other variables 2004-04-23 10:03:01 -04:00
Bill Hoffman 3262bc73d3 ENH: allow verbose makefile flag to remove nologo from all commands so you can see them in visual studio 6 2004-04-23 09:12:57 -04:00
Brad King 32a6a8fb0c ERR: Fixed unused variable assignment warning. 2004-04-23 08:50:47 -04:00
Andy Cedilnik 724019f91c ENH: Add DynamicAnalisys support. The old Purify is still available through --compatibility-mode 2004-04-22 18:04:11 -04:00
Bill Hoffman 7b576866b7 ENH: add support for static library property STATIC_LIBRARY_FLAGS 2004-04-22 16:58:04 -04:00
Bill Hoffman 86bf9f396e ENH: add a property for HAS_CXX to a target that will force the use of a c++ compiler in the linking of an executable that contains only c code 2004-04-22 14:38:17 -04:00
Andy Cedilnik 161c31bc2b ERR: Verify that getenv returned something before using it 2004-04-22 14:11:25 -04:00
Ken Martin 84a1d5e553 update docs 2004-04-22 13:37:04 -04:00
Bill Hoffman d59e06595c BUG: fix for 301 CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH env vars now used in FIND_LIBRARY and FIND_PATH in addtion to and before PATH 2004-04-22 13:24:20 -04:00
Bill Hoffman 4e8b76dc93 BUG 178: make top level cmakelist file a source in ALL_BUILD 2004-04-22 09:44:41 -04:00
Andy Cedilnik 6918844bd6 ERR: Fix install on VS71 2004-04-21 17:54:10 -04:00
Brad King 5473791b4b ENH: Added cmListFileLexer_SetString method to allow a string to be parsed as input. 2004-04-21 16:23:58 -04:00
Andy Cedilnik b55d109864 BUG: Put all files to manifest 2004-04-21 11:42:50 -04:00
Brad King bfd79e99e6 BUG: Fixed check of number of arguments. 2004-04-21 11:36:31 -04:00
Andy Cedilnik ac8232e140 ENH: Do preinstall and postinstall script even if the target is not installed 2004-04-21 11:32:27 -04:00
Andy Cedilnik 4d55c6540a ENH: Report error and exit when the current directory is not specified 2004-04-21 10:34:08 -04:00
Andy Cedilnik 00095676cc BUG: Prevent crash when the current working directory cannot be established 2004-04-21 10:33:07 -04:00
Andy Cedilnik 61f602d668 BUG: If the line ends without new-line character, Split should still return something 2004-04-20 18:28:23 -04:00
Andy Cedilnik 30d4262dad RNH: Support NoDartCoverage in the binary directorory 2004-04-19 17:21:11 -04:00
Brad King d4214bc565 ENH#696: Adding REQUIRED option to FIND_PACKAGE command. It will terminate the cmake configure step if the package is not found. 2004-04-19 10:36:42 -04:00
Andy Cedilnik 55a71ba572 ENH: Add check for infinite loops. Make sure that files written using WRITE_FILE and FILE WRITE are not used as input files. Fixes Bug #678 - WRITE_FILE and FILE(WRITE...) lead to infinite loops 2004-04-18 14:41:46 -04:00
Andy Cedilnik af61b68583 ENH: Add support for adding object files and sources. This way you can use external program such as assembler or fortran to generate object files. Also star of fixing: Bug #757 - add .o file as a source file 2004-04-18 13:16:34 -04:00
Ken Martin 3da0f4940a better args handling for -I options 2004-04-16 14:55:15 -04:00
Ken Martin 5c618442d3 better args handling for -I option 2004-04-16 14:52:13 -04:00
Andy Cedilnik 4c9c3ac84f ENH: Better reporting of what tests failed and write a file with failed tests 2004-04-16 13:36:36 -04:00
Bill Hoffman 62bd5b7c8c BUG: fix for bug 91 2004-04-16 09:50:31 -04:00