Commit Graph

98 Commits

Author SHA1 Message Date
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
Amitha Perera 0f98c51d77 ENH: Runtime library search paths can be added to the link lines for
on shared builds.
2001-06-08 00:18:54 -04:00
Bill Hoffman 4f77d737c9 ENH: move utilities to targets from makefile, and add versioning to cache 2001-06-07 14:52:29 -04:00
Amitha Perera 84edcba848 ENH: Compress the library search directories so that each appears only once. 2001-06-05 22:54:42 -04:00
Bill Hoffman b6d823a7c1 ENH: try to better handle control-c during make Makefiles 2001-06-04 11:34:22 -04:00
Amitha Perera dbf65f216f BUG: Now only one makefile rule is generated per depenency. This eliminates
a number of warnings.
2001-05-29 14:16:27 -04:00
Brad King 410f4838b8 BUG: WIN32 executable target rules are now generated in unix the same as any other executable (instead of not at all). 2001-05-25 15:32:22 -04:00
Brad King c60696ccaf BUG: Fixed logic that splits a full path library link into the -L and -l pieces to not write out a -l by itself if the file regular expression does not match. 2001-05-25 14:27:30 -04:00
Ken Martin 3ebfc32b5e added install target support 2001-05-23 11:53:37 -04:00
Bill Hoffman 52e83c7afd BUG: do not include /usr/lib in -L 2001-05-22 17:49:18 -04:00
Bill Hoffman beaa7dc1c8 BUG: fix depends and CXXFLAGS passing 2001-05-22 13:22:30 -04:00
Bill Hoffman c1086a9524 fix for hp x11 and gl 2001-05-21 16:10:20 -04:00