Commit Graph

197 Commits

Author SHA1 Message Date
Brad King 39af9ee1e4 ENH: Updated implementation of custom commands. Multiple command lines are now supported effectively allowing entire scripts to be written. Also removed extra variable expansions and cleaned up passing of commands through to the generators. The command and individual arguments are now kept separate all the way until the generator writes them out. This cleans up alot of escaping issues. 2005-02-22 10:32:44 -05:00
Brad King cab47a47a2 BUG: Fix for bug 1100. If EXECUTABLE_OUTPUT_PATH or LIBRARY_OUTPUT_PATH is a relative path it should be converted to a full path relative to each build directory. 2005-02-10 08:22:00 -05:00
Bill Hoffman 2615e6f0a9 BUG: fix for bug 1396, object files could not be used as sources any more 2004-12-06 12:38:04 -05:00
Bill Hoffman 144bc1e55c FIX: make sure the object file name is correctly mangled for depend information 2004-11-10 15:39:10 -05:00
Brad King 6297bcbf1d ENH: Moved code that checks output path variables to separate ConfigureOutputPaths method. Needed to provide access to the same code from a subclass. 2004-11-05 15:03:45 -05:00
Brad King a5ae290a5b STYLE: Adjusted signature of cmGeneratedFileStream to make copy-if-different more explicity. 2004-11-03 07:51:51 -05:00
Brad King d46d8df0ed ENH: Re-implemented cmGeneratedFileStream to look like a real stream and replace the destination file atomically. This will avoid problems with the process being terminated while generating a file. 2004-11-03 07:23:18 -05:00
Bill Hoffman 901dc9d49f ENH: remove debug print 2004-10-29 15:31:45 -04:00
Bill Hoffman 36c8f1d157 ENH: put error checking for missing linker languages 2004-10-27 10:53:01 -04:00
Brad King a2b8c1fbcb BUG: Add a space before the : only if the target name is one letter long. This works around bugs in some shells' tab completion of target names. 2004-10-27 08:49:41 -04:00
Bill Hoffman 040f776885 FIX: fix the problem where a target is a single character and nmake gets confused and add a test for it 2004-10-22 17:00:00 -04:00
Bill Hoffman 7cef36c628 ENH: add the ability to generate custom commands for a language that is not supported by an IDE 2004-10-21 14:34:02 -04:00
Bill Hoffman 6abbc7b1ff BUG: make sure output path is used for target with canonical name 2004-10-18 11:48:18 -04:00
Bill Hoffman 5bf55d1590 ENH: shorten the symbols a bit and remove maps of std::string for map of cmStdString 2004-09-29 16:07:07 -04:00
Bill Hoffman 016e0e52cb BUG: make sure java jar files are not libfoo.jar but are just foo.jar 2004-09-27 11:36:29 -04:00
Bill Hoffman 1603e16cc5 ENH: replace all enabled languages in rule vars 2004-09-24 10:07:57 -04:00
Bill Hoffman 16c0a02d9b ENH: correctly ignore files 2004-09-24 08:39:02 -04:00
Bill Hoffman a7e20abcdb ENH: only replace the language being used in expand rule variables 2004-09-23 11:44:17 -04:00
Bill Hoffman d11cecab7d STYLE: remove warning 2004-09-23 09:11:01 -04:00
Bill Hoffman 692ba48c4e ENH: major changes to support addition of languages from cmake modules directory. 2004-09-22 14:42:05 -04:00
Bill Hoffman b5bdf2cb0a ENH: add better error reporting for file open failures 2004-09-07 16:55:25 -04:00
Bill Hoffman 46a493ae74 ENH: remove warnings 2004-09-03 13:24:10 -04:00
Bill Hoffman c2ef51e181 ENH: define language extensions in cmake files and not hard coded, also fix trycompile problem 2004-09-03 12:03:41 -04:00
Bill Hoffman 66a08c10e5 ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code 2004-08-26 14:55:55 -04:00
Andy Cedilnik ded244d1a8 ERR: Fix the list of targets. The base target name now includes the MACOSX_BUNDLE path 2004-08-24 11:30:33 -04:00
Bill Hoffman 9655299f08 ENH: initial fortran support 2004-08-06 14:51:41 -04:00
Brad King 46418e70a3 BUG#427: Generated makefiles need to have targets with canonical names for each executable and library target in order for try-compiles to work correctly when specifying the target. 2004-08-05 10:17:26 -04:00
Bill Hoffman d759b687a7 BUG: remove double include flags for rc resouce compiles 2004-07-09 09:12:47 -04:00
Brad King 491ef99291 BUG: Added special hack for VTK 4.0-4.4 to re-enable automatic addition of current source directory to -I path. 2004-06-18 15:01:54 -04:00
Brad King 0fec8c8ce9 ERR: Fixed typo. 2004-06-18 13:00:38 -04:00
Brad King 06cfe37e22 BUG: Need to preserve automatic addition of source tree to -I path if CMAKE_BACKWARDS_COMPATIBILITY is set to below 2.0. 2004-06-18 12:56:25 -04:00
Brad King 4df215a268 Removing automatic addition of a -I path for the current source directory.
This is not consistent with the Visual Studio generators which do not
provide this path.  It should not be added anyway because it is adding
an include path not requested by the CMakeLists.txt code.  The code I'm
removing was originally added in revision 1.17 of cmUnixMakefileGenerator.cxx
as a part of several other changes and has a commit log entry of

  "some bug fixes"

It was propagated from their to cmLocalUnixMakefileGenerator.cxx.
Since all our projects build in the VS IDE without this include path, it should not be needed.  Users can easily fix problems caused by this by adding

  INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})

to their CMakeLists.txt code.  This was often necessary previously when a
project was originally written on a Unix system and then built with
Visual Studio.
2004-06-15 11:52:58 -04:00
Ken Martin 94847d0aa7 BUG#891: When building CMake itself, use the new cmake to install so that the current cmake can be overwritten. 2004-06-09 18:56:00 -04:00
Andy Cedilnik c56547a3f9 ENH: Fix preorder. This caused preorder to not work and the test passed because of jump-over rule 2004-06-01 09:58:00 -04:00
Andy Cedilnik 3031467e33 ENH: Implement additional make clean files as a directory property instead of cmake variable 2004-05-20 16:56:34 -04:00
Bill Hoffman 0ace9ada2c ENH: change ADDITIONAL_MAKE_CLEAN_FILES to work with spaces in the path and on windows with no spaces 2004-05-17 15:56:34 -04:00
Brad King 81bd499376 BUG: Need to recognize -B linker options. 2004-05-10 16:40:04 -04:00
Andy Cedilnik ea8dc0769d ENH: Only mangle object files if CMAKE_MANGLE_OBJECT_FILE_NAMES is set. Only on borland for now. 2004-05-04 11:24:32 -04:00
Bill Hoffman 22d69a944a BUG: fix to make spaces in paths work for jump over with borland and nmake on second build 2004-05-03 12:34:25 -04:00
Bill Hoffman 858564fb10 BUG: remove duplicate depend on cache file and use of make variable in make target 2004-04-30 11:36:54 -04:00
Bill Hoffman 56f960296f ENH: remove warnings 2004-04-29 12:33:18 -04:00
Bill Hoffman 1620242ac4 ENH: remove warning 2004-04-28 14:25:26 -04:00
Bill Hoffman a6b60841db BUG: fix for bug 116 platform files can now specify directories that should not be added by CMAKE 2004-04-28 13:21:56 -04:00
Andy Cedilnik ddf814f964 ENH: Encode object files with funny characters in the name. It should fix Bug #418 - Borland 5.5.1, Templates/*.cxx files with '+' chars used in execs 2004-04-28 10:15:40 -04:00
Andy Cedilnik 5a5cd54730 ENH: GetSafeDefinition is now in cmMakefile 2004-04-27 12:02:32 -04:00
Bill Hoffman 8b0b749a11 ENH: add SUBDIR PREORDER and fix clean for non-relative paths 2004-04-23 12:52:48 -04:00
Bill Hoffman 7b576866b7 ENH: add support for static library property STATIC_LIBRARY_FLAGS 2004-04-22 16:58:04 -04:00
Andy Cedilnik af61b68583 ENH: Add support for adding object files and sources. This way you can use external program such as assembler or fortran to generate object files. Also star of fixing: Bug #757 - add .o file as a source file 2004-04-18 13:16:34 -04:00
Andy Cedilnik 5c85e88bfd ENH: Ok, that is it. Remove old install and replace it with new 2004-04-15 12:07:58 -04:00
Bill Hoffman 59756a43f4 BUG: add full path libraries to the depend information 2004-04-09 08:37:45 -04:00