Commit Graph

109 Commits

Author SHA1 Message Date
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
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
Amitha Perera cdb3f325b5 ENH: Use ${MAKE} instead of make for dependent library rules 2001-06-27 12:09:56 -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
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
Bill Hoffman 1f773c3ea9 BUG: remove unused 2001-06-18 15:35:53 -04:00
Bill Hoffman e42013dc71 BUG: create directories in the right place 2001-06-18 15:32:08 -04:00
Bill Hoffman d7fd7a8c47 ENH: do not add anything from the current directory to the depends 2001-06-15 17:57:47 -04:00
Amitha Perera 80aad5e3b2 BUG: fixed so that empty library paths are ignored 2001-06-15 10:35:06 -04:00
Bill Hoffman 48294a75ca BUG: fix it so that if a Makefile is out of date for some reason, it is only built once, it was doing it twice. 2001-06-14 10:19:34 -04:00
Bill Hoffman e3f0d096c4 BUG: fix so it does not jump into the current directory for inital target builds 2001-06-13 17:50:09 -04:00
Bill Hoffman 78ee6660a7 ENH: fix EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH for unix 2001-06-13 17:03:49 -04:00
Amitha Perera 918c8c4f3a BUG: SHLIB_LINK was being used when linking static executables. Missing comma
in RUNTIME_FLAG for IRIX.
ENH: User supplied SHLIB_CFLAGS (-fPIC, etc) will override configure detected
flags
2001-06-12 14:15:22 -04:00
Brad King 19b2f84ac7 BUG: CMake's configure needs to run with the current directory as the project's binary directory. 2001-06-12 12:22:07 -04:00
Brad King 5f12ae0c62 BUG: Dependency hints must be removed by the makefile generator before adding the dependencies generated by cmMakeDepend. 2001-06-12 10:59:40 -04:00
Amitha Perera 46aa1cb9c4 BUG: There was no dependency for library targets on their required libraries.
(Hopefully there aren't any cyclic dependencies for libraries.)
CMAKE_SHLIB_LINK is now used for executable targets.
2001-06-12 10:45:41 -04:00
Ken Martin ff529aa861 some cleanup to the make depend process 2001-06-12 09:00:21 -04:00
Brad King 522ff0204a BUG: WIN32_EXECUTABLE targets were not being installed on unix properly. They are supposed to be treated just like any other EXECUTABLE target. 2001-06-12 08:31:33 -04:00