Commit Graph

832 Commits

Author SHA1 Message Date
Bill Hoffman f69e3caa14 BUG: fix full path for file in current directory 2001-09-29 11:12:17 -04:00
Berk Geveci f6b3049bda BUG: fix realpath problem again... 2001-09-28 13:35:35 -04:00
Berk Geveci 55415f418a BUG: separate path from file name before calling realpath 2001-09-28 12:14:52 -04:00
Bill Hoffman 9ae8234fe5 BUG: get correct library name 2001-09-28 10:40:14 -04:00
Bill Hoffman 1c8f096517 BUG: use realpath instead of cd/pwd 2001-09-27 16:50:59 -04:00
Bill Hoffman d55f530012 BUG: fix install prefix 2001-09-27 15:54:47 -04:00
Bill Hoffman cc768c86c6 ENH: pass prefix from configure into cmake 2001-09-27 14:58:14 -04:00
Ken Martin 1c283ee037 improved registry handling 2001-09-25 14:39:32 -04:00
Ken Martin b502515ad1 memory leak 2001-09-25 11:06:00 -04:00
Brad King 0f5f884a45 BUG: CopyFile should return immediately after an error occurs. 2001-09-21 09:40:07 -04:00
Berk Geveci 7d09ca52f1 handle spaces in commands and args 2001-09-20 16:43:51 -04:00
Ken Martin b341539bc1 ENH: check for values that switch to internal, can happen with a load cache command 2001-09-20 15:29:41 -04:00
Bill Hoffman baa28efd10 ENH: change InitialPass to take a const reference to the argument string, to avoid changes to the file cache 2001-09-20 15:08:30 -04:00
Ken Martin b9d56e8497 BUG: make a copy of the arguments before passing them to Execute 2001-09-20 13:44:27 -04:00
Brad King 65ef85320a ENH: Added cmSystemTools::GlobDirs function to allow wildcards in paths (like /foo/bar/*). 2001-09-20 10:54:29 -04:00
Brad King ee86c59cba ENH: Added extra newline in an error message to improve readability. 2001-09-20 10:53:34 -04:00
Ken Martin 1bf6afaabf version rev to 95 2001-09-19 14:20:53 -04:00
Ken Martin ccc1c3d50a version rev to 94 2001-09-19 14:20:37 -04:00
Bill Hoffman 73b42d882c ENH: change to take a path as input 2001-09-17 16:36:04 -04:00
Bill Hoffman 11269bb1c4 BUG: fix return when file is not found 2001-09-17 16:34:41 -04:00
Bill Hoffman 53dd41451d ENH: add Use mangled mesa command 2001-09-17 13:58:07 -04:00
Ken Martin 84ea4d85d1 now uses five argument version of wrap commands 2001-09-14 16:36:09 -04:00
Bill Hoffman e197d3f219 remove memory leaks 2001-09-14 16:26:56 -04:00
Bill Hoffman dd533552bb fix error in cygwin 2001-09-14 15:18:33 -04:00
Bill Hoffman 9438a5965a initialize class 2001-09-14 15:18:19 -04:00
Bill Hoffman 58a3e38167 add support for clean up 2001-09-14 15:18:01 -04:00
Ken Martin e3178eed97 added shortest ext function 2001-09-13 11:27:54 -04:00
Bill Lorensen 275b334f8b ENH: drop the case of the site name. This makes it consistent with Dart's usage. 2001-09-12 17:09:40 -04:00
Bill Lorensen 1e9fbdc38c ENH: Added LowerCase method. 2001-09-12 17:09:02 -04:00
Brad King aac4e8eb3c ENH: Added parsing of gccxml flags into separate arguments for setting the custom command. This is necessary since the custom command now takes a vector of individual command line options instead of a single string. 2001-09-12 15:18:23 -04:00
John Biddiscombe 7adaefb403 ERR: Change to EscapeSpaces forces rework of Borland generator <sigh>
Add clause to prevent adding quotes when they're already present, then stuff them
onto all lib paths to prevent forward slashes causing trouble.
2001-09-11 21:45:35 -04:00
John Biddiscombe 288287b336 ENH: Major fix of the Borland generator which addresses the problem of libraries
with dependencies (other libraries) not linking when required. Dependency checking
required the full path to be supplied to each file when they're not in the current directory
(very tedious). All seems to be working nicely now.
2001-09-11 20:00:21 -04:00
John Biddiscombe ea40b86683 ENH: Add a findfile routine (as opposed to find executable or library) which doesn't
add any extensions - Borland make needs full paths to certain dependencies
otherwise linking doesn't work properly (dependencies aren't checked)
2001-09-11 19:58:22 -04:00
Ken Martin faafcdddbf updated testing 2001-09-11 15:17:40 -04:00
Ken Martin 7e37a0cafb include fixes 2001-09-11 14:58:57 -04:00
Ken Martin 491a15c0c2 bug in testing code 2001-09-11 14:42:50 -04:00
Bill Hoffman 0b9521daf7 BUG: fix build with non-borland compiler 2001-09-11 13:44:27 -04:00
Ken Martin baa7a4022e fix for include paths 2001-09-11 13:40:47 -04:00
Ken Martin 0fe42a9857 various windows fixes 2001-09-10 15:11:15 -04:00
Berk Geveci 5acb894e58 Typo in link command. 2001-09-10 11:03:30 -04:00
John Biddiscombe 53ed585ef6 ERR: Forgot to put back a backslash 2001-09-08 12:09:03 -04:00
John Biddiscombe 6fcc9d803c ERR: LINK_DIR must ot have backslah at end. Fix plus cleanup of some code. 2001-09-08 10:02:45 -04:00
Ken Martin ea2690d667 fixed bug in mismatched directory opens consuming file descriptors 2001-09-07 10:08:03 -04:00
Brad King 55e453a317 ENH: Removed addition of compiler support directory include option since the find_*_options scripts now include it automatically. 2001-09-07 09:40:34 -04:00
Bill Hoffman a14057c1b3 BUG: clean up lib and exe output paths 2001-09-06 18:02:26 -04:00
Bill Hoffman d204791e45 ENH: integrate borland support 2001-09-06 17:28:24 -04:00
John Biddiscombe ecd4acfb01 NEW: First check in of Borland Makefile Generator and template stuff 2001-09-04 16:29:11 -04:00
Bill Hoffman cc5c1fa6f7 ENH: separate command from its arguments in the custom command. This allows the generator on windows to change the slashes for just the command 2001-09-04 16:07:54 -04:00
John Biddiscombe ecff0d36ac ENH: Added a clause for Borland compiler compatibility 2001-09-01 17:13:18 -04:00
Sebastien Barre 2f6e0d4703 Convert path format back to Windows slashes syntax. Mandatory for Win98 build. 2001-09-01 16:56:41 -04:00
Sebastien Barre 9c3fc67d00 fix comment pb 2001-09-01 16:55:01 -04:00
John Biddiscombe 5ac8ecd9d2 ENH: Windows and Unix slash conversions return a char*, clean function
seperated from Convert function
2001-09-01 16:13:56 -04:00
John Biddiscombe 0645a50061 ENH: ExpandVariables functions return a char * for convenience 2001-09-01 16:12:52 -04:00
Yves Starreveld 7aa0d0d888 ENH: Generate compile lines for .m, .M, and .mm files (ObjC and ObjC++) 2001-08-31 21:10:46 -04:00
Bill Hoffman 3091e9b8f6 BUG: fix incorrect deletion of function blockers 2001-08-30 17:32:48 -04:00
Ken Martin 22025945c8 version rev 2001-08-30 16:19:46 -04:00
Ken Martin 4798e61fa0 version rev 2001-08-30 16:19:04 -04:00
Bill Hoffman 7aec024997 opps 2001-08-29 17:21:21 -04:00
Brad King 754e1cb9a5 BUG: GCCXML_FLAGS found from find_gcc_options or find_mpro_options should have the trailing newline stripped from the string. 2001-08-29 17:11:03 -04:00
Brad King 2eefa2286a ENH: Updated generated dependencies since cable's installation directory now uses separate CxxTypes and WrapTclFacility subdirecories for includes. 2001-08-29 17:10:25 -04:00
Ken Martin 08a89bd8dc added regexp option 2001-08-29 16:42:03 -04:00
Bill Hoffman 8d681d4793 remove /ZI 2001-08-29 16:13:56 -04:00
Bill Hoffman 97dc84a613 ENH: run cmake from cmaketest 2001-08-29 15:57:57 -04:00
Brad King 222199b3cd ENH: Added a const version of GetLinkLibraries(). 2001-08-29 10:47:01 -04:00
Brad King 82996a636e ENH: Proper dependencies between shared libraries now exist in the generated makefiles. If a shared library links to another, the other will be built before the link is attempted. 2001-08-29 10:46:59 -04:00
Bill Hoffman 94337f8015 clean up a bit 2001-08-29 09:57:49 -04:00
Berk Geveci efa44fc1f5 BUG: fix out of bounds read on string in mkdir 2001-08-29 09:44:27 -04:00
Amitha Perera 582fe4b51f ENH: Special value IGNORE behaves like NOTFOUND, but makes FindLibrary, etc,
_not_ search for a library, etc.
2001-08-29 09:26:55 -04:00
Bill Hoffman 85d241faa0 remove warning 2001-08-28 18:35:22 -04:00
Bill Hoffman 5edd7673e1 ENH: add caching for the input CMakeList.txt files, 2X speed up 2001-08-28 18:28:31 -04:00
Bill Hoffman 91f27f6fbc BUG: put spaces in /I paths 2001-08-28 18:27:02 -04:00
Yves Starreveld 247c1640da Changes to allow MODULE type target for a shared library 2001-08-28 18:02:59 -04:00
Ken Martin f85fc7cda1 better network build support 2001-08-28 14:55:14 -04:00
Bill Hoffman c7bd083549 BUG: fix for broken apple mkdir and general clean up of MakeDirectory command 2001-08-28 10:57:25 -04:00
Bill Hoffman 98b4ea2609 BUG: fix switch projects not saving cache correctly 2001-08-27 15:48:37 -04:00
Ken Martin ba4e56385c support for network path link libraries 2001-08-27 15:19:45 -04:00
Bill Hoffman f709e5588e ENH: change expand variables to use GetDefinition 2001-08-27 14:44:15 -04:00
Bill Hoffman 8d80a9055e ENH: clean up sgi build and use non-broken autoconf 2001-08-27 14:35:34 -04:00
Bill Hoffman 3b5ce4b88a *** empty log message *** 2001-08-27 12:24:47 -04:00
Bill Hoffman 152fccf848 BUG: set CXX and CC when running configure from cmake 2001-08-27 11:03:41 -04:00
Ken Martin d586449a64 better formatted output 2001-08-27 10:23:45 -04:00
Berk Geveci 277228e3aa ken added dependancy to build everything 2001-08-27 10:07:42 -04:00
Ken Martin 8181104f9a added ctest to win32 2001-08-25 12:31:46 -04:00
Bill Hoffman c34410deac ENH: build for sgi CC out of box 2001-08-24 17:17:39 -04:00
Amitha Perera 2eb9d09e04 BUG: ADD_TEST now only does stuff if ENABLE_TESTING has been run. 2001-08-23 18:30:05 -04:00
Bill Hoffman 538ff79e2f ENH: improve coverage 2001-08-23 18:02:30 -04:00
Bill Hoffman a4f40c31f1 ENH: add dump documentation test 2001-08-23 17:40:07 -04:00
Brad King 852be8a520 ENH: Each cmCableWrapTclCommand instance now uses a single cmMakeDepend object for dependencies for all the gccxml input files it generates. This should significantly improve generation time. 2001-08-23 16:28:29 -04:00
Bill Hoffman eff67f3061 BUG: run make all on unix not make exename 2001-08-23 16:24:04 -04:00
Bill Hoffman 047c7b5af4 ENH: add more testing 2001-08-23 16:00:46 -04:00
Ken Martin bd4c5cf362 also check path for test executables 2001-08-23 13:12:13 -04:00
Ken Martin 32e789efd2 fixed format 2001-08-23 11:39:21 -04:00
Ken Martin ab0ef5b6a0 better ctest support 2001-08-23 11:32:56 -04:00
Ken Martin 2190ddc4e9 added test driver for make test target 2001-08-23 11:12:19 -04:00
Ken Martin abff98fb9d ENH: do not put a rule in to rebuild the ALL_BUILD.dsp file, as it is not possible... 2001-08-22 16:33:58 -04:00
Bill Hoffman ddd5a7d729 ENH: change all maps of string to be maps of cmStdString, to reduce symbol length in object files. 2001-08-22 11:58:17 -04:00
Bill Hoffman 032106c337 BUG: shorten length of symbols 2001-08-22 11:26:54 -04:00
Berk Geveci b76b5c6ea2 OUTDIR->IntDir 2001-08-22 10:12:29 -04:00
Bill Hoffman 5d0d488484 BUG: add missing CMakeCommandLineInfo 2001-08-22 08:21:22 -04:00
Sebastien Barre 9b25981068 CMakeSetup now handles command-line arguments (ex: /H=source_dir /B=build_dir) 2001-08-21 17:41:12 -04:00
Yves Starreveld a159c2d306 Added support for .mm source files (ObjC++) 2001-08-21 11:04:38 -04:00
Bill Hoffman 48febc4ed3 BUG: cmSystemTools::CollapseFullPath is a bad thing to call on the compiler which is a filepath 2001-08-20 09:23:16 -04:00
Sebastien Barre edc738173b Allow option value to be expanded (thus, we can use the value of another option as default) 2001-08-19 19:11:59 -04:00
Sebastien Barre afba045028 gcc and MSVC clash on basic_string::compare(), let's try substr() 2001-08-19 12:14:24 -04:00
Sebastien Barre 4dda26b40a If the value is a path, collapse it (cleaner) 2001-08-19 07:36:46 -04:00
Sebastien Barre ce4f2718f2 Support for $ENV{VAR} syntax (lookup in the environment vars) 2001-08-18 12:52:19 -04:00
Ken Martin c151f30861 backwards MATCHES in if and else statements 2001-08-17 17:11:42 -04:00
Berk Geveci 3b9f97f32d Adding new options to LoadCache. 2001-08-16 11:41:44 -04:00
Berk Geveci 06a0f67f93 1. Added EXCLUDE option to LOAD_CACHE.
2. Entries brought in from another cache are now marked as internal.
2001-08-15 13:40:56 -04:00
Brad King 3d86ad7237 ENH: Improved INSTALL_FILES and INSTALL_PROGRAMS commands to allow each call to the command in a single directory to specify a different install path. 2001-08-14 17:18:52 -04:00
Ken Martin 0b471134c3 now creates output directories 2001-08-10 15:54:19 -04:00
Berk Geveci 78da2d0699 BUG: or and and were inverted. 2001-08-09 14:58:47 -04:00
Ken Martin c71a860978 updated version 2001-08-09 11:09:18 -04:00
Ken Martin d0c306058c updated version 2001-08-09 11:08:35 -04:00
Bill Hoffman 95e4feb361 BUG: add in for scope variable 2001-08-09 09:33:41 -04:00
Ken Martin d5c497d8bc ENH: update to new style of cache access 2001-08-08 14:25:08 -04:00
Bill Hoffman 333e2dbf63 BUG: can not Add a definition that you just got 2001-08-08 13:14:44 -04:00
Bill Hoffman db1303aa7d ENH: big change, only allow commands access to the cache via the cmMakefile class and GetDefinition, also the cmMakefile is the only way for commands to add to the cache. Also, some changes to configure.in that check for for scoping 2001-08-08 11:54:46 -04:00
Bill Hoffman 61ec323b6a ENH: compile with broken 720 SGI C++ compiler 2001-08-07 15:49:57 -04:00
Bill Hoffman 4b2d48051f ENH: html output for docs 2001-08-07 13:46:04 -04:00
Ken Martin d7702b4c30 added new if commands 2001-08-06 17:01:26 -04:00
Brad King 9cce835900 ENH: Added 'IMMEDIATE' option to CONFIGURE_FILE command to force file copy and configuration on the initial pass so that current variable values are used. 2001-08-03 15:47:19 -04:00
Brad King d76f84f70e ENH: Added use of a class's tag to generate a better set of filenames for its wrapper configuration, xml, and generated files. This should also prevent half the classes from re-wrapping when a new one is inserted in the middle. 2001-08-02 17:27:00 -04:00
Brad King 4aa1a3422b BUG: Generated link line for shared libraries had CMAKE_CXX_FLAGS instead of CMAKE_CXXFLAGS (note underscore). 2001-08-02 14:42:21 -04:00
Brad King ee12492c0a BUG: Fixed off-by-one error in ExpandVariablesInString for case of $ or @ as last character of string. 2001-08-02 14:10:19 -04:00
Brad King 9e5c769c29 BUG: We don't want to output -I/usr/include in the INCLUDE_FLAGS variable. This causes problems with finding system headers in the wrong places for certain standard library implementations. 2001-08-02 09:07:21 -04:00
Brad King 8a03ccda07 ENH: Added SUBDIR_DEPENDS command and corresponding support code. This command allows specification that a set of subdirectories be built before a particular directory. 2001-08-01 16:14:16 -04:00
Brad King fda98f8562 BUG: Needed to expand variables of definitions. 2001-08-01 16:13:13 -04:00
Brad King caab013c9a BUG: Need to expand variables when a regular expression is specified. 2001-08-01 16:12:43 -04:00
Brad King cfa25e9e1a ENH: Added INSTALL_PROGRAMS command and corresponding support. This involved splitting cmTarget::INSTALL into INSTALL_FILES and INSTALL_PROGRAMS enum values. INSTALL_FILES no longer adds execute permission. The INSTALL_PROGRAMS commnad takes either a list of explicit names, or a regex. It will not expand source lists like the INSTALL_FILES command will. 2001-07-31 11:29:21 -04:00
Brad King 489e91a1f7 ERR: ElementCombinationGenerator::ReplacePortion needs to be a friend of ElementCombinationGenerator so that it can get access to ElementCombinationGenerator::Substitution. Also fixed one minor problem for HP build. 2001-07-30 12:21:50 -04:00
Brad King ddec29c52d BUG: Changed include and link directory paths in cmMakefile back to std::vector because there is an order dependency. Only cmMakefile::AddIncludeDirectory and cmMakefile::AddLinkDirectory should be called to add directories to the paths. They make sure the paths are unique as they are inserted. 2001-07-30 11:34:03 -04:00
Ian Scott b24861d895 Removed the Uniquification of the include and link directory list in FinalPass,
and achieved the same effect by makein m_LinkDirectores and m_IncludeDirectories
a set rather than vector
2001-07-30 07:18:38 -04:00
Bill Hoffman 8bad4180c7 ENH: Re-implemented ExpandVariablesInString to significantly improve performance. 2001-07-27 16:29:50 -04:00
Ian Scott 4878ed3d29 MAkefile now strips duplicate directores from the libraries and include paths 2001-07-27 13:06:05 -04:00
Brad King 6d54c3d6f8 ENH: Added cable class-set expansion and tagging for alternate name generation. This should make the generated wrappers much easier to setup and use. 2001-07-26 11:07:18 -04:00
Bill Hoffman cb858f511e ENH: change the logic of disabling the ok button a bit 2001-07-26 10:18:26 -04:00
Ken Martin f8f4560ab4 fixed warnings 2001-07-26 08:36:54 -04:00
Bill Hoffman a5eac44d18 ENH: rework GUI with configure/OK/Cancel 2001-07-25 18:30:27 -04:00
Ken Martin 4ab2650802 added for each command 2001-07-25 16:53:13 -04:00
Ken Martin f783252c62 new commands 2001-07-25 16:52:51 -04:00
Berk Geveci 9f7f282e5e Removing trailing spaces after cache entry value. 2001-07-25 09:40:22 -04:00
Bill Hoffman ac1112ad06 BUG: fix on scroll with buttons 2001-07-24 16:46:33 -04:00
Brad King 1f2c84f284 BUG: Fixed dependency generation to work for when there are many, many dependencies. Output is now easier to ready anyway because each dependency is on its own line. 2001-07-24 16:16:02 -04:00
Brad King 9adacc17f8 BUG: CompilerIsMipsPro needs to redirect stderr to stdout so that the test output can be checked. 2001-07-23 14:43:23 -04:00
Brad King 4a52b0e6c3 ENH: Added support for UNIX compilers. GCC and MIPSpro are supported. 2001-07-23 11:54:25 -04:00
Brad King 572ecc9b8a ENH: Added support for non-verbose mode output from running a command. This can be used when it is expected that the command may fail. 2001-07-23 11:53:52 -04:00
Brad King dc87e1906d ENH: Added CONFIGURE_GCCXML command to do hard work of configuring GCCXML's flags for the current compiler. Currently only implemented correctly for Visual C++ in Windows. 2001-07-23 11:07:38 -04:00
Luis Ibanez 2f76c425ef ENH: Save and Load of recent Source and Binary directories added. 2001-07-19 14:31:24 -04:00
Ken Martin 0136329482 updated version 2001-07-18 16:45:49 -04:00