Commit Graph

223 Commits

Author SHA1 Message Date
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
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
Bill Hoffman 4ea1c51eba clean up for build on its own 2001-05-21 14:01:30 -04:00
Ken Martin 619864c09e new out of place builds 2001-05-21 09:32:11 -04:00
Bill Hoffman 8798d52790 ENH: add support for X11 2001-05-18 16:45:53 -04:00
Ken Martin 05d4b9aafd duh 2001-05-18 16:30:31 -04:00
Ken Martin 7ec7fb7e95 changes for cmake to live outside of the source tree 2001-05-18 15:20:31 -04:00
Brad King 1e7d8f8148 BUG: fix link of executables 2001-05-18 11:48:20 -04:00
Ken Martin 16fc8d78f1 added SetLocal method 2001-05-18 11:12:21 -04:00
Bill Hoffman 06429282f5 BUG: quote the compiler and other options 2001-05-18 10:15:54 -04:00
Ken Martin aa72e182fe half checked in changes for CMAKE_ROOT 2001-05-17 12:08:46 -04:00
Bill Hoffman d4498a9e52 BUG: fix for sun compiler 2001-05-16 18:08:14 -04:00
Brad King 93bdef43fb ERR: int -> unsigned int 2001-05-16 17:18:15 -04:00
Bill Hoffman 1cd9ce6f6e ENH: unify make process on unix 2001-05-16 15:15:21 -04:00
Bill Hoffman 72a9a5546f BUG: fix find library for unix 2001-05-11 14:39:30 -04:00
Ken Martin 639f1fa239 added registry entry support and windows app support 2001-05-11 10:53:17 -04:00
Brad King 968610b041 BUG: Removed stray debugging output statement. Also renamed some variables for clarity. 2001-05-10 11:20:16 -04:00
Bill Hoffman f07ee5b817 ENH: change find library and find program to look for more than one name 2001-05-09 14:53:32 -04:00
Bill Hoffman 885e37da22 ENH: call configure from cmake 2001-05-07 18:11:16 -04:00
Ken Martin e126954393 fixes for untiltiy targets in all 2001-05-04 17:00:22 -04:00
Bill Hoffman de10cfc72e ENH: move testing stuff to cmake from configure, good bye dashboard... :) 2001-05-04 11:30:46 -04:00
Bill Hoffman 96ec40943c ENH: implement ADD_TARGET command, and add an ALL_BUILD target 2001-05-01 16:55:32 -04:00
Ken Martin 2da0c57d46 added TARGET_LINK_LIBRARY command and support for debug and release libraries to link against 2001-04-30 10:44:00 -04:00
Brad King 13143f51d2 ERR: Renamed CustomCommands to BuildRules to match change in cmSourceGroup. 2001-04-27 14:57:48 -04:00
Will Schroeder 54cfe84f3f ENH:New copyright 2001-04-27 08:01:17 -04:00
Ken Martin 41e1270413 support for debug and opt libraries 2001-04-26 16:22:53 -04:00
Ken Martin 30ad61805b bug fixes 2001-04-26 09:38:31 -04:00
Brad King c3ab706698 BUG: Fixed output of dependencies. It needs to loop over the makefile's targets, not the source lists. 2001-04-25 09:39:23 -04:00
Brad King 91ddeacdbb ERR: cmClassFile.h -> cmSourceFile.h include change. 2001-04-24 17:33:09 -04:00
Ken Martin 73f04d1409 many fixes and cleanup and features 2001-04-24 16:49:12 -04:00
Dan Blezek 8852ed9d2f BUG: Clean was not doing it's job 2001-04-23 13:58:36 -04:00
Ken Martin 24bce99cbf cleaned up the coding style made ivars private etc 2001-04-19 13:28:46 -04:00
Brad King c025838c73 ERR: Removed unused variable. 2001-04-17 07:42:33 -04:00
Ken Martin e40aaa57c3 some bug fixes 2001-04-12 15:34:09 -04:00
Brad King fb6c4b8710 ENH: Added individual library linkage output so that shared libraries will not try to link against themselves. 2001-04-12 09:55:08 -04:00
Brad King 69308873f9 ENH: Generation now sets up proper linking of shared libraries to each other. 2001-04-11 16:34:53 -04:00
Ken Martin 865ec96644 major changes to support multiple libraries and source lists 2001-04-11 14:59:02 -04:00
Brad King a04fa127a8 ERR: Missed one EscapeSpaces call. 2001-04-09 10:53:17 -04:00
Brad King e0da3ef275 ERR: Corrected use of double-quotes to be compatible with UNIX make. Now double quotes (windows) or escape sequences for spaces (unix) are added when dependencies are output. 2001-04-09 10:31:36 -04:00
Brad King 8c087d0e7a ENH: Added SOURCE_GROUP command and corresponding support code. This command allows CMakeLists files to specify how sources are organized into groups in the generated DSP files and makefiles. 2001-03-20 13:20:59 -05:00
Brad King 5fc8300476 ENH: Added utility dependency support. Now a project can depend on other executables as well as link libraries. 2001-03-09 10:53:32 -05:00
Brad King 670afe1fc0 ENH: Added output of defines flags as part of INCLUDE_FLAGS. 2001-03-08 17:38:46 -05:00
Brad King fe25e5873b ENH: Added output of a custom command's m_Source as a dependency. 2001-03-08 17:31:59 -05:00
Brad King 278bcbd7be ENH: Added custom rule support to cmUnixMakefileGenerator. 2001-03-02 16:04:26 -05:00
Will Schroeder 9f98906e92 BUG: repeat all -l options to avoid having to worry about link order. 2001-03-02 13:47:33 -05:00
Brad King d31ce24413 ERR: Fixed warnings (int->unsigned int and a few others). 2001-02-23 10:40:13 -05:00
Bill Hoffman 89e037ee19 ENH: first pass at cache, clean up the unix generator, clean up configure.in some 2001-02-19 15:13:48 -05:00
Will Schroeder 88bbc0c30d ENH:Documentation and cleanups 2001-01-11 14:47:38 -05:00
Bill Hoffman 26f072dfe1 BUG: look for -l and -L only at the begining of a link string 2001-01-09 15:13:26 -05:00
Bill Hoffman c54a05bfc7 ENH: rework cmake, added ruleMaker classes and changed the syntax of the CMakeLists.txt files. 2001-01-05 11:41:20 -05:00