Commit Graph

786 Commits

Author SHA1 Message Date
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
Ken Martin 212dfb1b8e limit library search to appropriate extensions 2001-07-18 11:40:23 -04:00
Brad King 21d634c525 ENH: Added generation of dependencies on the CMake-generated input to gcc-xml so that re-generation of wrappers will occur if a header changes. 2001-07-17 15:41:49 -04:00
Brad King 7df455251b BUG: Need to expand variables in search paths in case it hasn't been done yet by the makefile. 2001-07-17 15:41:04 -04:00
Brad King 82c1916a6d ENH: Hacked together a new implementation of the dependency generator code. This should support finding dependencies for individual files without doing them for the entire makefile. Use cmMakeDepend::FindDependencies() to do this. 2001-07-17 15:09:16 -04:00
Brad King c5381e8588 ENH: Added support for using backslash-style escaping in CMakeLists.txt file arguments. This allows double quotes to be used in arguments. 2001-07-17 09:54:05 -04:00
Amitha Perera e169953e92 ENH: Source and header file extensions are in variables in cmMakefile.
AUX_SOURCE_DIRECTORY will only add files that have a "source" extension.
2001-07-16 18:40:42 -04:00
Bill Hoffman 42e3ee8c05 BUG: make sure cache is cleared 2001-07-16 10:15:17 -04:00
Bill Hoffman 556d27c9eb ENH: add support for mac osx 2001-07-16 10:14:41 -04:00
Bill Hoffman ae25b63b6a ENH: add a check to avoid quitting before rebuilding 2001-07-12 19:48:41 -04:00
Ken Martin df79a0bc47 version num 2001-07-11 13:31:47 -04:00
Ken Martin ec50160652 version num 2001-07-11 13:30:59 -04:00
Ken Martin f42e4d5cd2 fixed up resizing info 2001-07-11 13:06:41 -04:00
Bill Hoffman 189a9db9b6 BUG: make sure find program does not find directories 2001-07-11 12:12:13 -04:00
Bill Hoffman d4edafe717 BUG: remove iostream.h includes 2001-07-10 17:13:16 -04:00
Berk Geveci cf2f3998ec Unnecessary variable 2001-07-10 16:20:42 -04:00
Berk Geveci 87331468e9 Better error checking. 2001-07-10 16:20:24 -04:00
Brad King f7ca7fb868 BUG: When splitting a full path library into separate -L and -l parts, the -l part may not have a "lib" prefix on cygwin. 2001-07-10 13:57:35 -04:00
Brad King fdd48818db ENH: Removing automatic setting of BUILD_SHARED_LIBS. Projects that support this should explicitly declare it with the OPTION command, or set its libraries to shared or static directly on each ADD_LIBRARY command. 2001-07-10 12:09:18 -04:00
Brad King e5a3ad77e5 ENH: Added -D(library_name)_EXPORTS to build rules for sources that are going to be linked into a shared library. This allows dllexport setup for DLL building on cygwin. It may also come in handy in unix in the future. This corresponds to the same definition added by the dll dsp template in windows. 2001-07-10 11:46:20 -04:00
Ken Martin e0fa3f281c changes to better handle old values or hand set values 2001-07-10 09:23:34 -04:00
Amitha Perera c437247141 BUG: library extension goes after library name, not before 2001-07-08 17:54:46 -04:00
Bill Hoffman a1ec2852af ENH: some clean up, and better checking to see if we are building cmake 2001-07-06 14:41:18 -04:00
Will Schroeder 9027c8bdf7 ERR:Spelling mistake 2001-07-06 12:46:31 -04:00
Brad King 8c3d29d0d3 ENH: Warning 4503 disable for MSVC. 2001-07-06 09:22:41 -04:00
Bill Hoffman 05fb9379ef ENH: add better error output 2001-07-05 17:52:31 -04:00
Bill Hoffman 863ca7d0e2 BUG: fix solaris problems in install and ar 2001-07-05 12:03:57 -04:00
Brad King 3524dc421f ENH: Removed -fsyntax-only flag from call to gcc-xml. It should be part of GCCXML_FLAGS. 2001-07-03 10:53:10 -04:00
Ian Scott 331c517eeb Renamed the ReleaseWithDebugInfo Build configuration to RelWithDebInfo,
because msdev does simple matching on build target, and specifying either
Release or Debug builds would also build ReleaseWithDebugInfo
2001-07-03 05:27:39 -04:00
Brad King d9e7be545f BUG: When outputting relative path of .o, the relative path of the source file must also be written (not full path). 2001-07-02 16:52:56 -04:00
Jim Miller c453f2fc7a FIX: BuildName removes path to compiler and converts any illegal characters 2001-07-02 16:30:40 -04:00
Brad King 6307ffbb65 ENH: Removed deprecated command completely. 2001-07-02 15:58:01 -04:00
Brad King e693d47253 ENH: Added support for selection of static/shared build on a per-library basis. 2001-07-02 15:38:02 -04:00
Ken Martin ae2723878e better arg support 2001-07-02 14:38:39 -04:00
Berk Geveci 4e80d8e2b2 Should not be inherited. 2001-07-02 14:03:45 -04:00
Berk Geveci 44062bf4b7 Better error checking. 2001-07-02 14:03:20 -04:00
Berk Geveci 238fe481f3 Wrong place for fout 2001-07-02 14:02:55 -04:00
Ken Martin 901d2626ce better configure file command 2001-06-29 16:46:28 -04:00
Ken Martin fd06cd32c1 minor compile fix 2001-06-29 09:53:09 -04:00
Bill Hoffman 0846046200 BUG: break up CMAKE_AR into program and ARGS 2001-06-29 09:30:01 -04:00
Bill Hoffman a7f7366abd ENH: various fixes to allow bootstrap on sunos with CC 2001-06-28 17:45:54 -04:00
Bill Hoffman 850d74f67f fixed Dart issue 2001-06-28 16:45:22 -04:00
Berk Geveci d08d2738c9 Undefined symbol 2001-06-28 15:11:40 -04:00
Berk Geveci 19bd2c0c29 Special rules for out-of-package source files. 2001-06-28 15:08:50 -04:00
Bill Hoffman 61acb47f54 BUG: fix for sgi compiler 2001-06-28 14:53:08 -04:00
Bill Hoffman 1b9a530ef4 BUG: find files in subdirectories 2001-06-28 14:01:21 -04:00
Bill Hoffman d1b419b7be fix for scope on hp 2001-06-28 11:42:24 -04:00