Brad King
45313dc943
Quote the target name for Borland tlib tool
...
The Borland librarian tool "tlib" requires that the output target name
be quoted if it contains the character '-' (and perhaps a few others).
This commit restores the use of the TARGET_QUOTED rule variable
replacement for this purpose. Otherwise no static library can have a
'-' in its name.
This problem was exposed by the 'Testing' test when it builds the
pcStatic library with the '-dbg' suffix.
2009-08-12 09:09:41 -04:00
Brad King
e840a9dff3
BUG: Apply patch from bug#6445. Add preprocessor definitions to assembly and preprocessing build rules.
2008-02-27 14:31:09 -05:00
Brad King
58480575a3
ENH: Simplify make build rule generation by removing use of OBJECTS_QUOTED and TARGET_QUOTED rule variables and updating the generation of OBJECTS to always use the newer cmLocalGenerator::Convert method.
2008-02-24 14:05:21 -05:00
Brad King
8262ccfd4e
ENH: Create COMPILE_DEFINITIONS property for targets and source files. Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators.
2008-01-14 09:20:58 -05:00
Bill Hoffman
f4ab553178
ENH: add support for preprocessed files in borland
2007-10-05 13:15:34 -04:00
Brad King
5a32aa5919
ENH: Added target property ENABLE_EXPORTS for executable targets. It enables the executables for linking by loadable modules that import symbols from the executable. This finishes the executable import library support mentioned in bug #4210 .
2007-03-22 09:45:25 -04:00
Brad King
56ce727d10
BUG: Disable creation of import libraries for executables on Borland until it can be made optional. Otherwise all executables get a .lib with the same name which is unexpected behavior for users.
2007-03-20 09:14:27 -04:00
Brad King
fc7c433463
ENH: Added support for import libraries created by executable and module targets. The module import libraries should never be used but some windows compilers always create them for .dll files since there is no distinction from shared libraries on that platform. The executable import libraries may be used to create modules that when loaded bind to symbols from the executables. This is an enhancement related to bug#4210 though not requested by it explicitly.
2007-03-19 10:00:36 -04:00
Brad King
42e1ffb7f5
BUG: Do not create import library for MODULEs. The TARGET_IMPLIB name is not set correctly for MODULE rules anyway.
2007-03-03 10:09:18 -05:00
Brad King
08289893b8
ENH: Split CMAKE_STANDARD_LIBRARIES into per-language variables CMAKE_<lang>_STANDARD_LIBRARIES. This is needed to get programmable language support working with Visual Studio generators. It makes sense anyway.
2006-04-11 16:55:49 -04:00
Brad King
81677b3130
ENH: Generate import libraries for DLLs on Cygwin and MinGW.
2006-02-18 15:37:23 -05:00
Bill Hoffman
79b7e0c37c
ENH: remove warning suppressions for borland compiler, projects wanting this should use -w-, the default warning level is used for all other compilers. Used to be -w- -whid -waus -wpar
2006-02-15 08:05:55 -05:00
Brad King
33587ce376
ENH: Added platform settings CMAKE_FIND_LIBRARY_PREFIXES and CMAKE_FIND_LIBRARY_SUFFIXES to allow customized searching for libraries.
2006-02-09 15:05:13 -05:00
Brad King
387bcc5d20
BUG: Need to use the -c option for implib to produce case-sensitive symbols in the .lib files.
2005-06-29 12:07:09 -04:00
Brad King
830e1ac1d9
BUG#895: Adding -DNDEBUG to C and C++ flags for release builds.
2004-06-01 14:08: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
Andy Cedilnik
2f5673c894
ENH: Fix typos about copying exe flags to shared flags and to modules. Bug #518 - On borland, initial flags for bulding module are wrong
2004-01-15 13:57:21 -05:00
Bill Hoffman
34853be45a
BUG: fix for bug 346, borland should now support dash in the path
2003-11-05 11:18:15 -05:00
Bill Hoffman
a413160fec
ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32
2003-08-21 16:22:23 -04:00
Brad King
2d411398fd
BUG: Stack size in generated programs should be 10 meg, not 256.
2003-06-12 16:43:09 -04:00
Bill Hoffman
8e6c05cbae
BUG: remove typo from file
2003-05-09 09:32:04 -04:00
Bill Hoffman
6292558f36
BUG: fix for borland win32 exe builds
2003-05-08 09:55:59 -04:00
Ken Martin
5394ecef82
BUG: remove -H flags as they cause crashes on oldwww
2003-05-08 09:44:51 -04:00
Ken Martin
1b572eb946
BUG: remove -H flags as they cause crashes on oldwww
2003-05-08 09:43:15 -04:00
Bill Hoffman
c70beb4bee
ENH: change the default borland stack size
2003-05-05 10:24:01 -04:00
Bill Hoffman
c01253a58f
BUG: fix flags for borland link shared and module
2003-01-15 13:22:50 -05:00
Brad King
61cd9298cd
ENH: Added <LINK_FLAGS> to link rules.
2002-12-31 13:08:44 -05:00
Bill Hoffman
e74377dcd8
ENH: fixes for borland with spaces in the path
2002-12-22 15:19:48 -05:00
Bill Hoffman
e2d1104881
determine CMAKE_MAKE_PROGRAM in EnableLanguage
2002-12-03 16:19:16 -05:00
Bill Hoffman
3873bd6257
correctly place both LINK_FLAGS and CXX_LINK_FLAGS and C_LINK_FLAGS into all the rules
2002-12-03 10:47:07 -05:00
Bill Hoffman
69806d705a
change flags for borland
2002-11-22 16:18:31 -05:00
Bill Hoffman
dad83f4d3c
BUG: fix for borland run time dll
2002-11-15 17:45:03 -05:00
Bill Hoffman
388c4ad207
BUG: fix for missing temp file variable
2002-11-14 08:59:42 -05:00
Bill Hoffman
a79b16a67f
reorder tWR so that it does not crash with shared
2002-11-13 23:37:20 -05:00
Bill Hoffman
26e05fc060
fix shared builds on borland and add debug stuff for makefiles
2002-11-13 20:11:26 -05:00
Ken Martin
19b144bdbf
ENH: move -P flag from cxxflags to the compile line for cxx files
2002-11-13 15:32:27 -05:00
Bill Hoffman
46ede79d58
ENH: use correct run time library for borland
2002-11-13 14:51:20 -05:00
Bill Hoffman
e0671aba94
BUG: fix order of link line for creating shared libraries
2002-11-13 11:25:10 -05:00
Bill Hoffman
e020a6d171
ENH: add .def file support
2002-11-12 15:24:31 -05:00
Bill Hoffman
98ef89bf77
Set CMAKE_BUILD_TOOL
2002-11-12 09:12:13 -05:00
Bill Hoffman
36db45082e
ENH: fix up several problems with new stuff
2002-11-11 18:10:30 -05:00
Bill Hoffman
d1051bb575
clean up flags with _init flags
2002-11-11 12:31:46 -05:00
Bill Hoffman
538f38596f
BUG: fix setting of c flags
2002-11-10 10:02:52 -05:00
Bill Hoffman
ac481e0ee9
fix for cxxflags
2002-11-09 13:43:16 -05:00
Brad King
3a6d52f4c5
ENH: Moved caching of C*_FLAGS* settings down to CMakeSystemSpecificInformation.cmake. The platform files can set the defaults on the first run, and then the settings are cached at the end.
2002-11-08 18:06:53 -05:00
Bill Hoffman
f5d95fb078
Complete rework of makefile generators expect trouble
2002-11-08 15:46:08 -05:00