Commit Graph

732 Commits

Author SHA1 Message Date
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
Bill Hoffman a5349a79c3 BUG: check size of path error, HP gcount problem 2001-06-28 11:40:35 -04:00
Berk Geveci b6121bf8a8 Added variable expansion. 2001-06-27 17:19:11 -04:00
Ken Martin 2a7fc5750b updated version to 0.3 2001-06-27 16:18:14 -04:00
Ken Martin ac12186742 updated version to 0.2 2001-06-27 16:17:35 -04:00
Ken Martin ae243b21bb ENH: fix install when executable and lib path set 2001-06-27 16:14:14 -04:00
Bill Hoffman a5cda2217d ENH: fix install for cygwin, build cmake from configure 2001-06-27 15:42:27 -04:00
Brad King 7bb9fdbeef BUG: Check for building shared libraries should read from the make file's setting, not directly from the cache. 2001-06-27 15:13:26 -04:00
Brad King 459dfc7531 BUG: Check for building shared libraries should read from makefile's setting, not directly from the cache. 2001-06-27 15:09:22 -04:00
Ken Martin 5579ee31d5 documentation change 2001-06-27 13:14:34 -04:00
Amitha Perera cdb3f325b5 ENH: Use ${MAKE} instead of make for dependent library rules 2001-06-27 12:09:56 -04:00
Ken Martin 7eb2940eed alphabetized 2001-06-27 11:49:02 -04:00
Ken Martin b5c6730f70 added help options 2001-06-27 11:35:08 -04:00
Ken Martin c19c252e23 minor fixes to testing 2001-06-27 09:17:12 -04:00
Ken Martin c6418bd34b mod to the testing 2001-06-27 09:16:48 -04:00
Bill Hoffman 29450e7f48 ENH: convert to unix slashes on browse, remove font and color junk 2001-06-26 16:44:22 -04:00
Ken Martin c84f6448a6 modified how paths are escaped, added depends 2001-06-26 13:23:55 -04:00
Ken Martin 43ac1a3a86 added add dependencies command 2001-06-26 10:01:03 -04:00
Ken Martin 78cc9b21e0 better GUI resize and combo box fixes 2001-06-26 09:55:35 -04:00
Jim Miller d2c2cf3296 FIX: added AddDefinition() to store site name and build name in makefile. Also stripped
white space from the result of hostname.
2001-06-25 13:34:09 -04:00
Bill Hoffman 65a2a9f72c BUG: shared libraries should not depend on other shared libraries, they get relinked too often. 2001-06-22 14:53:51 -04:00
Bill Hoffman 8da64c7c44 ENH: put back stdio.h to get sprintf 2001-06-22 14:53:14 -04:00
John Biddiscombe 81e6046a99 ERR: Serious problems with my CVS. How did this get committed? 2001-06-22 14:23:31 -04:00
Brad King 373c1663cf BUG: Wrote correct implementation of cmCopyFile. 2001-06-22 12:19:34 -04:00
Brad King 10e0197054 BUG: Fixed generation of cMakeRoot in one case. 2001-06-22 12:18:52 -04:00
Brad King fda8bcc978 ENH: Added string.h include. 2001-06-22 12:18:10 -04:00
Brad King 487dc39f12 ERR: Removed stray standard header include. They should be added to cmStandardIncludes.h 2001-06-22 12:17:53 -04:00
Brad King 5c39470031 BUG: Added missing newline in error message. 2001-06-22 12:17:03 -04:00
Ken Martin 24ec7f5c3c removed stricmp 2001-06-22 11:32:27 -04:00
Ken Martin 1203dca687 escape quotes on cmaketest.h.in 2001-06-22 11:28:25 -04:00
Ken Martin 8609fdb051 added escape quotes option 2001-06-22 11:15:18 -04:00
Ken Martin 43793f7df4 added escape quotes option in replace strings 2001-06-22 11:14:32 -04:00
Ken Martin b977136904 added escape quote method 2001-06-22 10:21:08 -04:00
John Biddiscombe 348d1994ac ENH: Added new command SOURCE_FILES_REMOVE which can be used
to take files out of the build. Especially useful when certain compilers choke on the
odd file.
2001-06-22 09:58:13 -04:00
John Biddiscombe e1e7b8adca ENH: Added RemoveSource(...) to complement AddSource. New command
SOURCE_FILES_REMOVE uses it and can be used to take files out of the build
2001-06-22 09:47:02 -04:00
Ken Martin 6bf0be8e13 namespace issues 2001-06-22 09:27:11 -04:00
Bill Hoffman 9c9461d130 allow no name project 2001-06-21 17:55:28 -04:00
Ken Martin 83e6038ed1 better testing 2001-06-21 17:53:35 -04:00
Ken Martin 242a236db4 adde changeDirectory 2001-06-21 17:53:15 -04:00
Ken Martin bda5baa566 new test driver 2001-06-21 17:52:54 -04:00
Bill Hoffman 900f1be244 BUG: fix for unix 2001-06-21 17:41:23 -04:00
Bill Hoffman 18b2449ca2 ENH: clean up 2001-06-21 17:25:35 -04:00
Bill Hoffman 31ab42e5b7 ENH: look in the PREFIX dir for the modules 2001-06-21 17:20:03 -04:00
Bill Hoffman a2b757aa2d ENH: better ability to find cmake program 2001-06-21 16:34:13 -04:00
Ken Martin 807b5ba5c1 better permission handling 2001-06-21 15:54:39 -04:00
Brad King cf82992964 ENH: Extended INCLUDE_REGULAR_EXPRESSION to allow selective complaints about missing dependencies. 2001-06-21 15:02:52 -04:00
Brad King 8ffe832e9b ENH: Added BUILD_FLTK_GUI option (defaults to ON). 2001-06-21 15:02:18 -04:00
Bill Hoffman a7d114cfd6 BUG: fix bootstrap build on unix 2001-06-21 13:48:08 -04:00
Luis Ibanez 796fc4c495 ENH: Update the cacheManager from the GUI after each callback.
Only load the cache from disk if the binary path has changed.
2001-06-21 12:43:52 -04:00
Ken Martin 8dc66edfae added install target 2001-06-21 12:19:36 -04:00
Ken Martin 0ff3bdba20 better install support 2001-06-21 12:01:18 -04:00
Bill Hoffman 43c2a89568 ENH: add optional include and only allow one file per INCLUDE 2001-06-21 10:36:01 -04:00
Luis Ibanez 3221b4e3fe ENH: INTERNAL properties are not display any longer in the GUI 2001-06-21 10:17:34 -04:00
Luis Ibanez f7b22c332f ENH: The cache is not saved now after every modification of the GUI 2001-06-21 09:56:59 -04:00
Luis Ibanez cca4d06686 ENH: Clearing and redrawing the property list after a build to load the new cache. 2001-06-21 09:45:46 -04:00