summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudioGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Do Windows command line escapes for VS 10 tooBrad King2009-09-071-20/+1
| | | | | | | | | Until now the VS 10 generator did no Windows command-line escaping and just did XML escapes. This commit teaches the generator to use the same command-line escape addition code used by other generators. The script construction method cmLocalVisualStudioGenerator::ConstructScript need not do XML escapes. Each VS generator version adds the XML escapes necessary for that version.
* ENH: only 5 failing tests for VS 10Bill Hoffman2009-07-101-1/+20
|
* ENH: Generalize exe implib dir creation for VSBrad King2009-06-161-0/+30
| | | | | | | | In VS 7,8,9 executable targets we generate a build event to create the output directory for the import library in case the executable marks symbols with dllexport (VS forgets to create this directory). This generalizes computation of the custom command line to support future use with other VS versions.
* ENH: remove patch as directory change was already fixedBill Hoffman2008-01-151-7/+0
|
* BUG: fix for bug 6234, use cd /d so that drives can be changed.Bill Hoffman2008-01-151-0/+8
|
* BUG: When the working directory for a custom command is on another drive ↵Brad King2007-12-171-0/+10
| | | | letter we need to change to that drive letter after changing its working directory. Fixes issue #6150.
* BUG: fix #5326: source files with the same name in different groups lead to ↵Alexander Neundorf2007-08-271-22/+38
| | | | | | colliding object file names Alex
* ENH: Merging changes from branch CMake-SourceFile2-b between tagsBrad King2007-06-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* ENH: now target names can be used in add_custom_command() andAlexander Neundorf2007-05-091-2/+5
| | | | | | | | | | 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
* ENH: check in initial conv library stuffBill Hoffman2007-02-161-1/+2
|
* ENH: do not use relative paths for custom command commands if they working ↵Bill Hoffman2007-01-181-1/+8
| | | | directory is used
* BUG: Avoid leading and trailing newlines in custom command scripts because ↵Brad King2006-10-251-6/+12
| | | | some VS6 versions do not like the trailing backslash this produces. This addresses bug#3977.
* ENH: Re-implemented command line argument shell quoting to support several ↵Brad King2006-09-271-1/+12
| | | | platforms with one code base.
* BUG: Centralized generation of command line arguments in escaped form. This ↵Brad King2006-09-211-0/+51
| | | | addresses bug#3786 for several platforms.
* BUG: Duplicate object name detection should not be case sensitive since this ↵Brad King2006-08-081-5/+8
| | | | code is used on Windows file systems. This addresses bug#3589.
* BUG: Make sure sources with unknown extensions are not compiled by VS.Brad King2006-08-031-3/+13
|
* ENH: Adding .hh file as a C++ header file extension. Remove duplicate code ↵Brad King2006-08-011-8/+12
| | | | from implementation of unique object name computation for VS generators. This addresses bug#3565.
* STYLE: fix long linesKen Martin2006-07-181-3/+2
|
* ENH: Moved unique object file name computation from ↵Brad King2006-07-111-0/+89
cmLocalUnixMakefileGenerator3 up to cmLocalGenerator for use by all generators. Created cmLocalVisualStudioGenerator as superclass for all VS generators. Implemented on-demand unique object file name computation for VS 7 generator to avoid slow compiles when all sources are in subdirectories.