Brad King
4867b712f9
Fix Windows GUI implib and image version in VS 6
...
These commits:
Adding image version number (major.minor) property to
windows binaries.
Added support for import libraries created by executable
and module targets.
added content to Templates/EXEHeader.dsptemplate that should also have
been added to Templates/EXEWinHeader.dsptemplate for the VS6 generator.
This commit corrects the error. See issue #9586 .
2009-09-25 15:46:37 -04:00
Brad King
071ce33ec9
ENH: Install all Modules and Templates
...
This removes the file-wise installation rules for Modules and Templates
and instead installs the whole directories. This approach is much less
error-prone. The old approach was left from before CMake had the
install(DIRECTORY) command.
2009-07-24 13:17:41 -04:00
Brad King
43669f0ef2
BUG: Avoid cmTarget::GetDirectory for utilities
...
Since utility targets have no main output files like executables or
libraries, they do not define an output directory. This removes a call
to cmTarget::GetDirectory from cmLocalVisualStudio{6,7}Generator for
such targets.
2009-07-03 10:33:49 -04:00
David Cole
95a6feaa66
COMP: Don't emit old style cast warning when configured as C++ but still allow being configured as C. Thanks to Monsieur Francois Bertel for the patch.
2008-12-09 10:56:41 -05:00
Bill Hoffman
a50cdcb5a6
BUG: fix for rc and vs6
2008-12-03 15:35:35 -05:00
Amitha Perera
47aa926523
BUG: the return value of scanf should not be ignored
2008-11-25 09:52:21 -05:00
Bill Hoffman
4ed4f5a7d4
ENH: fix failing tests
2008-09-10 10:36:45 -04:00
Bill Hoffman
4eaac32db6
BUG: fix bug OUTPUT_LIBNAME_EXPORTS done differently now
2008-09-10 10:10:25 -04:00
Bill Hoffman
364ac7e386
BUG: fix empty /D option for vs6, fix for 7580
2008-09-09 13:04:30 -04:00
David Cole
ca2a16c0a2
ENH: Add code to support calling the VS reload macro from Visual Studio 7.1 and 9.0 in addition to 8.0 sp1... Make new macros file with VS 7.1 so that it can be read by 7.1 and later. VS 7.1 does not appear to run the macros while a build is in progress, but does not return any errors either, so for now, the reload macro is not called when using 7.1. If I can figure out how to get 7.1 to execute the macro, I will uncomment the code in cmGlobalVisualStudio71Generator::GetUserMacrosDirectory() to activate executing the macros in VS 7.1, too.
2008-02-15 11:49:58 -05:00
David Cole
fa5f8967c1
BUG: Install the vsmacros file.
2007-11-21 15:33:35 -05:00
Brad King
13e96b1403
ENH: Added StopBuild macro.
2007-11-19 13:44:10 -05:00
David Cole
867de7fc67
ENH: Add ability to call Visual Studio macros from CMake. Add a CMake Visual Studio macro to reload a solution file automatically if CMake makes changes to .sln files or .vcproj files. Add code to call the macro automatically for any running Visual Studio instances with the .sln file open at the end of the Visual Studio Generate call. Only call the macro if some .sln or .vcproj file changed during Generate. Also, add handling for REG_EXPAND_SZ type to SystemTools::ReadRegistryValue - returned string has environment variable references expanded.
2007-11-16 07:01:58 -05:00
Brad King
e5bb99e010
ENH: Removed dependency on Templates/CMakeWindowsSystemConfig.cmake which is no longer used. Also removed the file itself.
2007-11-09 15:08:56 -05:00
Bill Hoffman
bcfa890c02
ENH: add package script for cmake project
2007-10-29 21:10:49 -04:00
Alexander Neundorf
7f11536704
ENH: now target names can be used in add_custom_command() and
...
add_custom_target() as COMMAND, and cmake will recognize them and replace
them with the actual output path of these executables. Also the dependency
will be added automatically. Test included.
ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(),
so it is done now in one central place
Alex
2007-05-09 08:25:45 -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
80e6cade7a
ENH: Implemented use of cmTarget::GetDirectory() in Visual Studio 6 generator. This is an incremental fix for bug#4210.
2007-03-09 16:25:16 -05:00
Brad King
b155f3aa1c
ENH: Adding image version number (major.minor) property to windows binaries. Default is 0.0, but the VERSION target property may change the value. Windows now has first-class support for dll and exe versioning. This addresses bug#1219.
2006-10-16 18:17:14 -04:00
Andy Cedilnik
3006560d86
ENH: Add template of ctest script
2006-04-28 11:58:16 -04:00
Andy Cedilnik
4d9634c3e5
ENH: Simplify the generic instructions
2006-04-20 09:54:45 -04:00
Brad King
864c0292d5
BUG: VS6 generator now uses ComputeLinkInformation just like all other generators.
2006-04-19 10:34:41 -04:00
Brad King
428b4c9244
ENH: Updated VS6 generator to use target.GetFullName() to compute target file names.
2006-04-18 11:45:31 -04:00
Andy Cedilnik
c836be6f7b
ENH: Start adding support for packaging component and to package into a subdirectory
2006-04-14 08:58:13 -04:00
Andy Cedilnik
c7f0940b4e
ENH: Install cpack files
2006-03-01 11:55:04 -05:00
Andy Cedilnik
b25820ebd4
ENH: Add resource files for PackageMaker
2006-02-28 14:18:13 -05:00
Andy Cedilnik
a87de1e1cd
ENH: Add generic instructions
2006-02-28 14:06:39 -05:00
Andy Cedilnik
ee227d3af5
ENH: Several packaging issues. Allow random variables to be passed to cpack (anything starting with CPACK_, add preinstall to the list of dependencies for package, fix typos
2006-02-27 10:58:20 -05:00
Andy Cedilnik
1d96f839d7
ENH: Several NSIS features
2006-02-23 09:38:40 -05:00
Andy Cedilnik
3b7011b9f6
ENH: Fix icons
2006-02-16 15:35:05 -05:00
Andy Cedilnik
c9ecd78237
ENH: Cleanup
2006-02-14 14:28:43 -05:00
Andy Cedilnik
3bce601c41
ENH: Improved support for icons, random directories, etc...
2006-02-14 10:28:40 -05:00
Andy Cedilnik
2a6bc87567
ENH: Some improvements: specify link, copy msvc libraries, fix install directory
2006-01-11 11:08:15 -05:00
Andy Cedilnik
f219d3c263
ENH: Pass CPACK_PACKAGE_FILE_NAME
2006-01-09 18:20:50 -05:00
Andy Cedilnik
0c302a7e5f
ENH: Fix test for cpack variables, add support for icon on windows
2006-01-09 11:26:31 -05:00
Andy Cedilnik
5358809a5c
ENH: More CPack stuff and fix zlib compression
2006-01-04 15:14:09 -05:00
Brad King
05e6c3f3ba
BUG: Fixed OUTPUT_NAME feature for VS6 generator. It was not working for Debug builds and was not paying attention to the executable output path.
2005-08-19 17:57:36 -04:00
Bill Hoffman
712f4b3d01
FIX: fixes bugs 1152 and 1154
2005-02-11 14:13:58 -05:00
Bill Hoffman
ff7757e34c
make sure tests flush output
2004-07-16 15:18:42 -04:00
Bill Hoffman
8c656dc40d
BUG: remove unused variable CMAKE_OBJECT_FILE_SUFFIX from cmake
2004-07-09 13:50:45 -04:00
Bill Hoffman
b6466061cb
ENH: add NDEBUG to windows release builds for both ide and nmake
2004-06-14 12:16:25 -04:00
Bill Hoffman
a613100b1e
BUG: remove debug pop hacks, also remove duplicate call to argvc function
2004-05-08 14:55:07 -04:00
Ken Martin
c10cb4db5a
fix warning maybe
2004-05-07 08:35:46 -04:00
Ken Martin
f299f4ae9c
fix warning
2004-05-06 08:51:36 -04:00
Bill Hoffman
7eab2e4235
ENH: remove unused variable
2004-04-30 11:36:01 -04:00
Bill Hoffman
98da4d31f8
BUG: add missing install file
2004-04-30 08:02:44 -04:00
Bill Hoffman
e539cf9f7c
ENH: make test driver more flexible by using a configured file instead of generating all the code. fixes bug 28
2004-04-28 12:31:18 -04:00
Andy Cedilnik
56a826968f
ENH: With new install framework we don't need install-sh any more
2004-04-26 13:42:36 -04:00
Bill Hoffman
71b57bc454
BUG: fix for bug 769 CMAKE_STANDARD_LIBRARIES now used in ides
2004-04-23 16:26:21 -04:00
Bill Hoffman
7b576866b7
ENH: add support for static library property STATIC_LIBRARY_FLAGS
2004-04-22 16:58:04 -04:00