summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.h
Commit message (Collapse)AuthorAgeFilesLines
* stringapi: Pass configuration names as stringsBen Boeckel2014-03-081-4/+5
|
* stringapi: Use strings in target nameBen Boeckel2014-03-081-6/+6
|
* Fix config-specific INCLUDE_DIRECTORIES in multi-config generatorsStephen Kelly2012-10-171-1/+1
| | | | | | | | Commit 08cb4fa4 (Process generator expressions in the INCLUDE_DIRECTORIES property, 2012-09-18) contained an incorrect assumption that CMAKE_BUILD_TYPE was set on the makefile for each generated configuration in multi-config generators. Fix that by making the GetIncludeDirectories API depend on the config.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-5/+5
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* VS: Add CMakeLists.txt re-run rules at start of generationBrad King2012-03-281-0/+1
| | | | | | | | | | | | | | | Since commit 328c0f65 (Simplify cmVisualStudio10TargetGenerator source classification, 2012-03-19) the VS 10 generator uses the cmGeneratorTarget source classification instead of directly getting the list of source files from the target. This accidentally dropped the CMakeLists.txt files from generated projects because they are added too late for cmGeneratorTarget. All generator-specific source files must be added to targets prior to cmGeneratorTarget construction. Refactor addition of the CMakeLists.txt files with CMake re-run custom commands to take place before normal generation begins, and therefore early enough to be included in the cmGeneratorTarget classification.
* Add $<TARGET_OBJECTS:...> expression to use an object libraryBrad King2012-03-161-0/+2
| | | | | | For now do not allow an OBJECT library to reference other object libraries. Teach cmTarget::ComputeLinkImplementation to include the languages of object libraries used by a target.
* Pre-compute object file names before VS project generationBrad King2012-03-091-0/+1
| | | | | | Implement cmGlobalGenerator::ComputeTargetObjects in the VS generator to pre-compute all the object file names. Use the results during generation instead of re-computing it later.
* Merge branch 'cleanup-object-file-names' into object-libraryBrad King2012-03-091-3/+0
|\
| * Remove unused partial OBJECT_FILES property implementationBrad King2012-03-061-3/+0
| | | | | | | | | | | | | | Remove partial implementation added by commit ca0230a3 (check in initial conv library stuff, 2007-02-16) since it was never finished. It does not make sense for multi-configuration generators since no specific build configuration is processed at CMake time.
* | Extract and use the INCLUDE_DIRECTORIES target properties.Stephen Kelly2012-02-221-1/+1
|/ | | | | | | | | Eliminate callers of cmMakefile::GetIncludeDirectories. All callers of GetIncludeDirectories should go through the local generator object. Only the local generator calls cmTarget::GetIncludeDirectories directly.
* Create a static library's output dir for VS 6Brad King2009-10-281-0/+2
| | | | | | | VS 6 forgets to create the output directory for a static library if it differs from the intermediate files directory. We work around this VS bug by creating a pre-link event on the library target to make the directory.
* Remove unused members of local VS 6 generatorBrad King2009-09-301-10/+1
| | | | | The commit "Use target dependency closure for VS 6 solutions" removed use of the CreatedProjectNames list, so we remove it.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* ENH: Refactor VS 6 build event generationBrad King2009-06-161-0/+2
| | | | | | | In cmLocalVisualStudio6Generator we generate pre-build, pre-link, and post-build events into project files. This refactors the generation code for the three event types into a private EventWriter class to avoid duplicate code.
* BUG: cmTarget instances should not be copied. Removed pass-by-value ↵Brad King2008-01-291-1/+1
| | | | arguments from cmLocalVisualStudio7Generator::WriteGroup and cmLocalVisualStudio6Generator::WriteGroup. Updated cmTarget to make this easier to find.
* ENH: Create COMPILE_DEFINITIONS property for targets and source files. ↵Brad King2008-01-141-0/+3
| | | | Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators.
* BUG: Fixed passing of configuration names to GetRealDependency and ↵Brad King2007-08-101-0/+2
| | | | ConstructScript. Added GetConfigName helper method to do this.
* ENH: Moved GetTargetDirectory method up to cmLocalGenerator. This provides ↵Brad King2007-08-011-0/+1
| | | | a common interface to something that was implemented in most local generators anyway.
* STYLE: Removed unused reference to cmMakeDepend.Brad King2007-06-111-1/+0
|
* BUG: fix problem for non-C/CXX languages with Visual Studio, theAlexander Neundorf2007-05-091-1/+3
| | | | | | | 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-4/+2
| | | | | | | | | | 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/+3
|
* ENH: Made cmLocalVisualStudioGenerator a superclass of ↵Brad King2006-07-111-2/+2
| | | | cmLocalVisualStudio6Generator. Implemented object file unique naming when multiple sources share the same name.
* BUG: VS6 generator now uses ComputeLinkInformation just like all other ↵Brad King2006-04-191-0/+3
| | | | generators.
* ENH: Added support for multiple outputs generated by a single custom ↵Brad King2006-04-111-1/+1
| | | | 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.
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-7/+7
|
* BUG: Fixed generation of cmake re-run rules.Brad King2006-02-091-1/+1
|
* ENH: Enabled new WORKING_DIRECTORY option to ADD_CUSTOM_COMMAND and ↵Brad King2006-02-081-1/+1
| | | | ADD_CUSTOM_TARGET on VS 6 generator.
* FIX: apply patch from bug# 1965Bill Hoffman2005-07-131-1/+2
|
* ENH: make LOCATION an computed property of the target and get rid of a bunch ↵Ken Martin2005-06-221-3/+3
| | | | of const junk
* BUG: Fixed ordering of multiple commands in a custom target when implemented ↵Brad King2005-04-261-0/+3
| | | | as custom commands. Also added support to execute pre-build rules first to be consistent with makefile generator.
* ENH: big change that includes immediate subdir support, removing the notion ↵Ken Martin2005-03-181-6/+2
| | | | of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
* yikes added new custom command supportKen Martin2003-06-031-10/+5
|
* Several fixes/improvements:Brad King2003-02-071-1/+1
| | | | | | | | | | | | | - Fixed CollapseFullPath to work on relative paths with base paths not in the current working directory. - INCLUDE command now supports relative paths (using above fix). - Added ABSOLUTE option to GET_FILENAME_COMPONENT command to unwind symlinks and relative paths. - Fixed libName_EXPORTS macro definition to be valid C identifier. - Added DEFINE_SYMBOL target propterty for customizing the export symbol. - Implemented LINK_FLAGS target propterty for libraries in VC6 and VC7. Several of these fixes were contributed by Gareth Jones.
* Add support for comments on custom commands in visual studio 6Andy Cedilnik2002-12-101-0/+1
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-5/+5
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* new archKen Martin2002-09-041-0/+106