summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Fixed passing of configuration names to GetRealDependency and ↵Brad King2007-08-101-11/+18
| | | | ConstructScript. Added GetConfigName helper method to do this.
* ENH: Moved GetTargetDirectory method up to cmLocalGenerator. This provides ↵Brad King2007-08-011-0/+7
| | | | a common interface to something that was implemented in most local generators anyway.
* ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to doAlexander Neundorf2007-06-281-1/+1
| | | | | | | | | | | | | something like this: ENABLE_LANGUAGE(ASM-ATT) IF(CMAKE_ASM-ATT_COMPILER_WORKS) ... do assembler stufff ELSE(CMAKE_ASM-ATT_COMPILER_WORKS) ... fallback to generic C/C++ ENDIF(CMAKE_ASM-ATT_COMPILER_WORKS) Alex
* ENH: Merging changes from branch CMake-SourceFile2-b between tagsBrad King2007-06-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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-4/+4
| | | | 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-7/+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.
* ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates anAlexander Neundorf2007-05-221-1/+2
| | | | | | | | | | "imported" executable target. This can then be used e.g. with ADD_CUSTOM_COMMAND() to generate stuff. It adds a second container for "imported" targets, and FindTarget() now takes an additional argument bool useImportedTargets to specify whether you also want to search in the imported targets or only in the "normal" targets. Alex
* STYLE: fix line lengthsAlexander Neundorf2007-05-141-1/+2
| | | | Alex
* BUG: fix problem for non-C/CXX languages with Visual Studio, theAlexander Neundorf2007-05-091-3/+6
| | | | | | | dependencies for the custom commands added for java were not handled correctly. Needs more work. Alex
* ENH: now target names can be used in add_custom_command() andAlexander Neundorf2007-05-091-42/+54
| | | | | | | | | | 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: Created method cmTarget::GetExportMacro to centralize computation of ↵Brad King2007-03-281-9/+4
| | | | 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-1/+3
| | | | 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-2/+27
| | | | 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.
* STYLE: Fix line-too-long.Brad King2007-03-101-2/+4
|
* BUG: Re-enable backward compatibility replacements in user-provided VS6 DSP ↵Brad King2007-03-091-1/+1
| | | | template files.
* ENH: Implemented use of cmTarget::GetDirectory() in Visual Studio 6 ↵Brad King2007-03-091-2/+55
| | | | generator. This is an incremental fix for bug#4210.
* ENH: fix crashBill Hoffman2007-02-201-8/+11
|
* BUG: fix for bug 4423 set language fixesBill Hoffman2007-02-201-2/+6
|
* STYLE: fix warningBill Hoffman2007-02-181-1/+1
|
* ENH: check in initial conv library stuffBill Hoffman2007-02-161-0/+12
|
* ENH: undo bug fix because of failed testBill Hoffman2007-01-231-37/+29
|
* ENH: add link flags for debug/release etcBill Hoffman2007-01-231-29/+37
|
* COMP: Remove unused variable.Brad King2006-10-251-1/+0
|
* BUG: Adjust prebuild/prelink/postbuild script construction to account for ↵Brad King2006-10-251-10/+9
| | | | 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/+16
| | | | 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.
* ENH: Re-implemented command line argument shell quoting to support several ↵Brad King2006-09-271-0/+8
| | | | platforms with one code base.
* BUG: Centralized generation of command line arguments in escaped form. This ↵Brad King2006-09-211-2/+2
| | | | addresses bug#3786 for several platforms.
* ENH: Made cmLocalVisualStudioGenerator a superclass of ↵Brad King2006-07-111-2/+27
| | | | cmLocalVisualStudio6Generator. Implemented object file unique naming when multiple sources share the same name.
* STYLE: fix line lengthKen Martin2006-05-121-59/+101
|
* BUG: VS6 generator now uses ComputeLinkInformation just like all other ↵Brad King2006-04-191-67/+145
| | | | generators.
* BUG: Do not require language flags variables. Other generators do not, and ↵Brad King2006-04-181-5/+5
| | | | it breaks programmable language support (like the Java test).
* ENH: Updated VS6 generator to use target.GetFullName() to compute target ↵Brad King2006-04-181-22/+25
| | | | file names.
* ENH: Split CMAKE_STANDARD_LIBRARIES into per-language variables ↵Brad King2006-04-111-10/+31
| | | | CMAKE_<lang>_STANDARD_LIBRARIES. This is needed to get programmable language support working with Visual Studio generators. It makes sense anyway.
* ENH: Added support for multiple outputs generated by a single custom ↵Brad King2006-04-111-25/+46
| | | | command. For Visual Studio generators the native tool provides support. For Xcode and Makefile generators a simple trick is used. The first output is considered primary and has the build rule attached. Other outputs simply depend on the first output with no build rule. During cmake_check_build_system CMake detects when a secondary output is missing and removes the primary output to make sure all outputs are regenerated. This approach always builds the custom command at the right time and only once even during parallel builds.
* ENH: add support for per config target LINK_FLAGSBill Hoffman2006-04-031-3/+22
|
* ENH: removed unused rules from targets for VSKen Martin2006-03-231-41/+1
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-92/+93
|
* COMP: Even more global target fixesAndy Cedilnik2006-02-241-4/+3
|
* BUG: More fixing of support for global target son visual studioAndy Cedilnik2006-02-241-3/+7
|
* BUG: Add target-level COMPILE_FLAGS to the target not the individual source ↵Brad King2006-02-201-9/+12
| | | | files. This simplifies the generated files and puts flags in a more logical order (VS6 works, VS7 needs more translation to work).
* ENH: If CMAKE_NO_AUTOMATIC_INCLUDE_DIRECTORIES is not set try to approximate ↵Brad King2006-02-181-12/+33
| | | | in-source build include file behavior in an out-of-source build by adding the build tree directory corresponding to a source tree directory at the beginning of the include path. Also fixed VS6 and VS7 generators to use cmLocalGenerator's computation of include paths. The VS6 generator will now short-path the include directories if the total length is too long in order to try to avoid its truncation limit.
* BUG: Avoid adding unused rules to special targets like ALL_BUILD. Make sure ↵Brad King2006-02-141-1/+12
| | | | project regeneration rules go only in desired targets.
* COMP: Removed unused variables.Brad King2006-02-101-2/+0
|
* BUG: Fixed generation of cmake re-run rules.Brad King2006-02-091-10/+11
|
* ENH: Enabled new WORKING_DIRECTORY option to ADD_CUSTOM_COMMAND and ↵Brad King2006-02-081-8/+6
| | | | ADD_CUSTOM_TARGET on VS 6 generator.
* ENH: add working directory supportBill Hoffman2006-02-081-3/+11
|
* ENH: add COMPILE_FLAGS to targetsBill Hoffman2006-01-251-0/+6
|
* BUG: Sweeping changes to cleanup computation of target names. This shouldBrad King2006-01-131-48/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | fix many bugs related to target names being computed inconsistently. - Centralized computation of a target's file name to a method in cmTarget. Now that global knowledge is always available the *_CMAKE_PATH cache variables are no longer needed. - Centralized computation of link library command lines and link directory search order. - Moved computation of link directories needed to link CMake targets to be after evaluation of linking dependencies. This also removed alot of duplicate code in which each version had its own bugs. This commit is surrounded by the tags CMake-TargetNameCentralization1-pre and CMake-TargetNameCentralization1-post so make the large set of changes easy to identify.
* ENH: for all custom commands that can not be given to a target, add them to ↵Bill Hoffman2006-01-091-3/+53
| | | | all targets in the current makefile