summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Moved GetTargetDirectory method up to cmLocalGenerator. This provides ↵Brad King2007-08-011-1/+1
| | | | a common interface to something that was implemented in most local generators anyway.
* BUG: Do not recognize preprocessor definition flags for the linker which has ↵Brad King2007-08-011-2/+3
| | | | no preprocessor but does have flags starting with /D.
* BUG: fix DLL and DEF being lost and add real support for /DEF: /DLL does not ↵Bill Hoffman2007-07-311-3/+4
| | | | have an entry so just let it pass to advanced command line
* ENH: Merging changes from branch CMake-SourceFile2-b between tagsBrad King2007-06-181-21/+8
| | | | | | | | | | | | | | | | | | | | | | | | CMake-SourceFile2-bp and CMake-SourceFile2-b-mp1 to trunk. This commit is surrounded by tags CMake-SourceFile2-b-mp1-pre and CMake-SourceFile2-b-mp1-post on the trunk. The changes re-implement cmSourceFile and the use of it to allow instances to be created much earlier. The use of cmSourceFileLocation allows locating a source file referenced by a user to be much simpler and more robust. The two SetName methods are no longer needed so some duplicate code has been removed. The strange "SourceName" stuff is gone. Code that created cmSourceFile instances on the stack and then sent them to cmMakefile::AddSource has been simplified and converted to getting cmSourceFile instances from cmMakefile. The CPluginAPI has preserved the old API through a compatibility interface. Source lists are gone. Targets now get real instances of cmSourceFile right away instead of storing a list of strings until the final pass. TraceVSDependencies has been re-written to avoid the use of SourceName. It is now called TraceDependencies since it is not just for VS. It is now implemented with a helper object which makes the code simpler.
* COMP: Fix build for windows-only generators after change to GetSourceFiles ↵Brad King2007-05-281-3/+3
| | | | signature.
* BUG: don't use non-imported target when cross compiling as commands in ↵Alexander Neundorf2007-05-241-1/+0
| | | | | | | | custom commands STYLE: remove now invalid comments, use this-> Alex
* ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create ↵Brad King2007-05-231-3/+1
| | | | targets. No targets of type cmTarget::INSTALL_FILES or cmTarget::INSTALL_PROGRAMS are created, so we do not need to check for them everywhere anymore.
* STYLE: fix line lengthAlexander Neundorf2007-05-101-1/+2
| | | | Alex
* BUG: fix problem for non-C/CXX languages with Visual Studio, theAlexander Neundorf2007-05-091-2/+5
| | | | | | | dependencies for the custom commands added for java were not handled correctly. Needs more work. Alex
* BUG: Fixed cmLocalVisualStudio7Generator to deal with quotes in macro ↵Brad King2007-05-091-9/+8
| | | | definitions properly. This addresses bug#4983.
* ENH: now target names can be used in add_custom_command() andAlexander Neundorf2007-05-091-33/+27
| | | | | | | | | | 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
* COMP: removed unused variable tempAlexander Neundorf2007-05-041-1/+0
| | | | Alex
* ENH: added internal target property for the name of the project fileKen Martin2007-04-101-4/+1
|
* ENH: Created method cmTarget::GetExportMacro to centralize computation of ↵Brad King2007-03-281-15/+3
| | | | the export symbol name. This removes duplicate code from all the generators. Also enabled the export definition for executable targets with the ENABLE_EXPORTS property set.
* ENH: Added support for import libraries created by executable and module ↵Brad King2007-03-191-13/+7
| | | | 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.
* ENH: Added computation of object file names that are almost always short ↵Brad King2007-03-161-1/+23
| | | | enough to not exceed the filesystem path length limitation. This is useful when a source file from outside the tree is referenced with a long full path. The object file name previously would contain the entire path which when combined with the build output directory could exceed the filesystem limit. Now CMake recognizes this case and replaces enough of the beginning of the full path to the source file with an md5sum of the replaced portion to make the name fit on disk. This addresses bug#4520.
* BUG: Reverting previous changes related to using an empty string for a ↵Brad King2007-03-141-4/+0
| | | | relative path to the current directory. Too many places want the . version. Instead we can just convert the . to an empty string in the one place that motiviated the original change.
* BUG: When the current output directory is a link directory we need to ↵Brad King2007-03-141-0/+4
| | | | reference it with the relative path "." instead of an empty relative path.
* BUG: All executable and library project types should specify a program ↵Brad King2007-03-141-21/+6
| | | | database file name for all configurations. Even when debug information is not used the .pdb file specified is used to construct the name of a .idb file that exists for all configurations when building with the VS IDE.
* BUG: Split precompiled header flags into a separate per-global-generator ↵Brad King2007-03-121-83/+84
| | | | flag map. This is needed because the flag mappings differ across VS IDE versions. This fixes bug#3512 for VS8 where as the previous fix only worked for VS7.
* ENH: Added implib option to cmTarget::GetDirectory to support a separate ↵Brad King2007-03-091-15/+9
| | | | directory containing the import library. This is an incremental step for bug#4210.
* ENH: Combined cmTarget::GetDirectory and cmTarget::GetOutputDir since they ↵Brad King2007-03-081-7/+7
| | | | are nearly the same. This is another step for bug#2240.
* ENH: Replaced LibraryOutputPath and ExecutableOutputPath variables in ↵Brad King2007-03-081-53/+22
| | | | Makefile and VS generators to instead ask each target for its output path. This significantly reduces total code size and centralizes previously duplicate code. It is also a step towards bug#2240.
* BUG: Get rid of ancient variables CMAKE_CXX_WARNING_LEVEL, ↵Brad King2007-03-071-11/+0
| | | | CMAKE_CXX_USE_RTTI, CMAKE_CXX_STACK_SIZE which are only partially implemented and now taken care of by flag mapping anyway.
* COMP: fix some w4 warningsKen Martin2007-03-021-1/+1
|
* STYLE: fix line lengthBill Hoffman2007-02-211-1/+2
|
* BUG: fix for bug 4423 set language fixesBill Hoffman2007-02-201-2/+9
|
* STYLE: fix line length issuesBill Hoffman2007-02-171-1/+2
|
* ENH: fix for vs ideBill Hoffman2007-02-161-0/+14
|
* ENH: check in initial conv library stuffBill Hoffman2007-02-161-0/+13
|
* BUG: Do not hack the exception handling default for linker flags or for ↵Brad King2007-02-151-0/+8
| | | | per-source-file flags.
* STYLE: fix line lengthBill Hoffman2007-02-011-1/+2
|
* ENH: Added cmTarget::GetPDBName method to simplify computation of .pdb file ↵Brad King2007-02-011-14/+2
| | | | name for a target.
* BUG: Do not use bitwise OR on bool.Brad King2007-02-011-1/+1
|
* ENH: Added a special flags integer field to the flag map entries. Added ↵Brad King2007-02-011-79/+141
| | | | flags for user values and other special cases. Added precompiled header flag translation entries. This addresses bug#3512.
* COMP: Removed unused variable.Brad King2007-02-011-1/+0
|
* ENH: Added mapping of /NODEFAULTLIB flag when no values are provided.Brad King2007-02-011-0/+2
|
* ENH: Reimplemented parsing and mapping of flags into vcproj file attribute ↵Brad King2007-02-011-279/+374
| | | | options. This cleans up and centralizes a few things. It is in preparation for dealing with precompiled header flags for bug #3512 since they require some special handling.
* BUG: The .pdb file generated for a library or executable should match the ↵Brad King2007-02-011-17/+61
| | | | real file name used for the target. This addresses bug#3277.
* BUG: make sure external vs projects use the GUID in the project if it has one.Bill Hoffman2007-01-311-1/+81
|
* STYLE: fix link lenght issueBill Hoffman2007-01-151-2/+4
|
* BUG: fix for bug 4239, NODEFAULTLIB flag support in ideBill Hoffman2007-01-121-11/+41
|
* BUG: When writing newlines between script portions in prebuild, prelink, and ↵Brad King2006-10-261-3/+3
| | | | postbuild command lines they must be escaped for XML so that the IDE receives them. This fixes the fix for bug #3977.
* BUG: Adjust prebuild/prelink/postbuild script construction to account for ↵Brad King2006-10-251-0/+12
| | | | ConstructScript no longer producing trailing newlines. This addresses bug#3977.
* ENH: Adding image version number (major.minor) property to windows binaries. ↵Brad King2006-10-161-0/+13
| | | | 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.
* BUG: fix for bug#3908 if header_file_only is set on cxx files in visual ↵Bill Hoffman2006-10-131-4/+14
| | | | studio do not compile them
* BUG: fix for fat file systems and vs8 #2617Bill Hoffman2006-10-041-0/+11
|
* BUG: fix for bug#3362 xml escapes on -D stuff for visual studioBill Hoffman2006-10-041-1/+1
|
* BUG: fix for bug# 3664Bill Hoffman2006-10-041-1/+13
|
* BUG: fix for bug#3738Bill Hoffman2006-10-031-3/+3
|