Commit Graph

229 Commits

Author SHA1 Message Date
Bill Hoffman 8efc43b7d5 BUG: remove warning from hpux make 2002-01-21 11:39:00 -05:00
Ken Martin 475364ac48 some fixes to recent screwerd up changes 2002-01-18 13:30:51 -05:00
Sebastien Barre 201764e166 Fix so that ADD_DEPENDENCIES work (the Utilities dependencies were not output) 2002-01-17 15:46:04 -05:00
Bill Hoffman cddba435b8 ENH: add silent and suffixes to check depend file 2002-01-16 15:53:29 -05:00
Berk Geveci 67a5a82586 Improved performance by removing implicit rules. 2002-01-15 17:21:54 -05:00
Bill Hoffman 0358cc83d0 remove extra logic not needed anymore because of better depends 2002-01-14 16:28:38 -05:00
Berk Geveci c88408141b Quote echo 2002-01-14 16:02:05 -05:00
Bill Hoffman d253ef49bc BUG: put back recursive call to make for checking sources 2002-01-02 11:54:50 -05:00
Berk Geveci 0ac6b2d7a0 Type || should have been && 2001-12-31 12:02:23 -05:00
Bill Hoffman d1fb9d757f ENH: remove one call to make, and clean echo stuff a bit 2001-12-31 11:54:14 -05:00
Berk Geveci cff85a6386 BUG: fix long depend list because it gets cut on the hp: I may look like berk, but it is bill H. 2001-12-30 17:18:58 -05:00
Bill Hoffman e4843d83a4 ENH: remove the rule to run make depend from the top with each change in any cmakelist file. Instead, run make depend in the current directory if a source file changes, or if a .h file changes or is removed 2001-12-28 17:00:05 -05:00
Amitha Perera a9cdcba660 BUG: Don't generate build rules for header files. 2001-12-28 15:58:21 -05:00
Bill Hoffman 2c7bb2bf34 BUG: fix so you can remove a directory in the source tree, and clean up echo of commands 2001-12-21 15:39:43 -05:00
Bill Hoffman 602d0ee102 ENH: add support for DESTDIR in install targets 2001-12-21 09:07:17 -05:00
Amitha Perera 9ad7f0905a ENH: Add option to disable use of -rpath. 2001-12-21 00:01:02 -05:00
Bill Hoffman 9402460977 ENH: add make silent flag for nmake and move .SILENT: directive to top of makefile 2001-12-20 15:46:37 -05:00
Bill Hoffman b67dc16be6 ENH: add silent mode for makefile builds and fix borland and nmake after the depend stuff 2001-12-19 18:45:22 -05:00
Brad King 633041837c ENH: Improved dependency generation. If any cmake.depends is out of date, all of them in the tree are re-generated. This is necessary in certain cases when CMakeLists.txt files change. 2001-12-18 10:21:59 -05:00
Brad King 4108b22486 BUG: cmake.depends files of zero size were not being re-written in some cases. Added a comment output to the top of the file so it will be re-written every time. 2001-12-11 15:59:33 -05:00
Luis Ibanez bf7470be7c FIX: GENERATED_CODE type is no longer needed: generated code is not a Target. 2001-12-11 02:17:53 -05:00
Amitha Perera e19a90ab20 BUG: LIBRARY_OUTPATH_PATH may be "set" to the null string, in which case it
should be ignored.
2001-12-10 12:02:10 -05:00
Brad King ee31c3e0a4 ENH: SUBDIR_DEPENDS command now does nothing. The parallel build functionality is now automatic. Dependencies are setup to force the same build order as a single threaded build, but multiple files in the same directory can be built simultaneously. Also fixed bug with inheriting CMakeLists.txt files when a directory level is skipped. 2001-12-10 11:03:44 -05:00
Bill Hoffman a946931f91 BUG: if LIBRARY_OUTPUT_PATH is set, then use the fullpath for a remote target 2001-12-08 21:10:37 -05:00
Bill Hoffman 29ef645272 BUG: executable extension wrong for ctest search, and was not looking in Debug and Release 2001-12-07 19:11:28 -05:00
Amitha Perera a4dc7f7b97 BUG: the rule for generating a library no longer has the full path, and so the
dependency targets shouldn't, either.
2001-12-07 18:15:18 -05:00
Bill Hoffman 30a56de4b7 ENH: add custom commands for targets 2001-12-07 10:58:06 -05:00
Sebastien Barre 4372a40922 Lib path should be converted to native path too. 2001-12-06 13:32:58 -05:00
Bill Hoffman a07808f816 crazy fix for putenv, and native path called on custom command paths 2001-12-04 12:03:58 -05:00
Sebastien Barre b180bf609b fix warning for Borland build 2001-11-30 17:20:43 -05:00
Sebastien Barre 5b251bde7e Add options for library manager (lib). 2001-11-30 16:05:55 -05:00
Bill Hoffman 47ae31d307 remove suffix rules 2001-11-30 12:41:19 -05:00
Bill Hoffman daf890359c add new suffix rules 2001-11-30 12:05:38 -05:00
Bill Hoffman 906ebb5547 fix warning 2001-11-30 10:41:08 -05:00
Bill Hoffman c80c5d245d ENH: fix various problems caused by the generalization of nmake generator 2001-11-29 23:24:37 -05:00
Sebastien Barre f670003d24 Nmake build: move most of hard-coded values to config parameters 2001-11-29 20:59:53 -05:00
Luis Ibanez 1be3b0fd99 ENH: GENERATED_CODE case added to switch. 2001-11-29 01:51:14 -05:00
Bill Hoffman e7bb895afd ENH: borland generator 2 is working more or less 2001-11-28 18:07:27 -05:00
Bill Hoffman ed50410ae7 bug: fix same path comparison when short paths are used 2001-11-28 07:15:04 -05:00
Berk Geveci 0180d3156f ENH: nmake generator much closer to working with spaces 2001-11-27 17:53:05 -05:00
Luis Ibanez 42e2874d75 ENH: Support for FLTK Fluid tool added. 2001-11-27 00:02:27 -05:00
Bill Hoffman eecf4b9cbf ENH: add advanced variable types and command line wizard gui 2001-11-26 18:28:27 -05:00
Bill Hoffman 12551a33c3 NMake with spaces in directories 2001-11-21 17:45:01 -05:00
Bill Hoffman bf1840a52d ENH: look for cmake test with .exe if nmake 2001-11-16 16:42:27 -05:00
Franck Bettinger 3e16ec5eda Added a make depend in the clean rule to refresh the dependencies 2001-11-16 13:08:03 -05:00
Franck Bettinger d66eb731a9 undo the last change because of problem with some versions of make 2001-11-16 10:14:28 -05:00
Franck Bettinger dad526aad6 added the deletion of cmake.depends in the cleaning so that it is recomputed even source files (i.e. .cxx or .h) are generated 2001-11-16 09:04:49 -05:00
Bill Hoffman 407afb906c closer to nmake working, added CMAKE_MAKE_COMMAND instead of MAKECOMMAND used by Dart, nmake makefiles work with borland make and nmake 2001-11-15 17:11:26 -05:00
Bill Hoffman 4b34ffa669 BUG: wrong shortname used 2001-11-15 09:00:44 -05:00
Bill Hoffman 1406eae1ba BUG: avoid .cxx.o names... 2001-11-15 08:42:34 -05:00
Bill Hoffman 94f82edd07 Closer to nmake build 2001-11-14 18:12:22 -05:00
Bill Hoffman f978b6f7ea nmake support 2001-11-14 10:21:59 -05:00
Bill Hoffman e7ac38077a ENH: remove debug statements 2001-11-14 09:22:08 -05:00
Bill Hoffman dc839f80f0 start work on nmake generator 2001-11-13 18:23:45 -05:00
Bill Hoffman 6220a187ba clean up object file build rule, and do not attempt to remove link_directories that are in the build tree 2001-11-13 15:54:41 -05:00
Bill Hoffman 41017cbc88 ENH: clean up warnings 2001-11-13 12:38:53 -05:00
Franck Bettinger becce939a2 support for compilation of .ui files into .h and .cxx files 2001-11-09 12:03:41 -05:00
Berk Geveci 32e9510d55 Needed to replace srcdir to make install targets work. 2001-11-08 08:42:16 -05:00
Bill Hoffman 3cb9f60375 BUG: no +=+ 2001-11-07 17:04:53 -05:00
Bill Hoffman 3b8eff5552 remove template flags from cmake, no ptused, or -instance=static 2001-11-07 15:57:17 -05:00
Bill Hoffman 72d683e0ee ENH: use full source name for c code as well as c++ 2001-11-07 14:55:49 -05:00
Bill Hoffman 8a4ae14a30 make sure default_target is first 2001-11-07 14:44:22 -05:00
Bill Hoffman 112707a9dc Clean up a bit more 2001-11-07 09:54:46 -05:00
Franck Bettinger 4153857a1e add cleaning of QT generated files when make clean is used 2001-11-06 15:29:03 -05:00
Bill Hoffman 1a8e3ba1e6 ENH: use full paths for object compile rules 2001-11-05 16:38:35 -05:00
Bill Hoffman a033bf3972 ENH: change to work with nmake 2001-11-05 15:39:37 -05:00
Bill Hoffman c15ad5c98d ENH: clean up interface and change build in current directory to build the depend file first 2001-11-01 18:37:28 -05:00
Berk Geveci 1096d43d14 ENH: allow -framework as a complete entry in the link line for Mac OSX 2001-10-24 17:51:55 -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 e197d3f219 remove memory leaks 2001-09-14 16:26:56 -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
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
Yves Starreveld 247c1640da Changes to allow MODULE type target for a shared library 2001-08-28 18:02:59 -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 f709e5588e ENH: change expand variables to use GetDefinition 2001-08-27 14:44:15 -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 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
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 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
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 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 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 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
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
Berk Geveci cf2f3998ec Unnecessary variable 2001-07-10 16:20:42 -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 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
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
Bill Hoffman 863ca7d0e2 BUG: fix solaris problems in install and ar 2001-07-05 12:03:57 -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
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
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
Berk Geveci 19bd2c0c29 Special rules for out-of-package source files. 2001-06-28 15:08:50 -04:00