summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio6Generator.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix some spelling errors in commentsGeoff Viola2014-10-131-1/+1
|
* cmGlobalGenerator: Create a non-virtual 'DoGenerate' methodBrad King2014-07-221-7/+1
| | | | | | | Make the virtual 'Generate' method protected. Make 'DoGenerate' the main entry point to generation. This gives cmGlobalGenerator a chance to do some early operations before the individual generator-specific implementations take over.
* cmTarget: Run old-style link dependencies only for VS 6Brad King2014-07-141-0/+2
| | | | | Invoke it at runtime only with the VS 6 generator. No other generators need it.
* stringapi: Use strings for program pathsBen Boeckel2014-03-081-1/+1
|
* stringapi: Use strings for generator namesBen Boeckel2014-03-081-2/+2
|
* stringapi: Use strings for directoriesBen Boeckel2014-03-081-1/+1
|
* stringapi: Miscellaneous char* parametersBen Boeckel2014-03-081-2/+2
|
* stringapi: Pass configuration names as stringsBen Boeckel2014-03-081-2/+2
|
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-1/+1
| | | | | | | | | | | Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited.
* stringapi: Use strings for VS project namesBen Boeckel2014-03-081-3/+4
|
* stringapi: Use strings in target nameBen Boeckel2014-03-081-1/+1
|
* Constify handling of target dependencies.Stephen Kelly2013-12-111-2/+2
|
* VS: Add CMAKE_VS_(DEVENV|MSBUILD|MSDEV)_COMMAND variablesBrad King2013-12-041-0/+2
| | | | | | | | Since commit 5f5c92b9 (VS: Add internal APIs to find MSBuild, devenv/VCExpress, and msdev, 2013-11-13) the VS generators have known how to lookup the locations of their build tools directly. Expose this information to CMake language code by defining new variables to hold the paths to these tools.
* VS: Switch to internal CMAKE_MAKE_PROGRAM lookup by generatorsBrad King2013-11-181-0/+1
| | | | | | | | Drop the "Modules/CMakeVS*FindMake.cmake" files. Override the cmGlobalGenerator::FindMakeProgram method for VS generators to use their internal APIs to locate the build tool. Set the CMAKE_MAKE_PROGRAM as a normal variable for use by project code, but do not cache it. This will allow CMake and CTest to select the proper tool at build time.
* VS: Add internal APIs to find MSBuild, devenv/VCExpress, and msdevBrad King2013-11-181-0/+4
| | | | | Teach the VS generators to compute the locations of these tools directly from registry entries. Add internal APIs to get the locations on demand.
* cmGlobalGenerator: Cleanup GenerateBuildCommand APIBrad King2013-11-181-8/+10
| | | | | | | | | All cmGlobalGenerator::GenerateBuildCommand call sites that need to produce a string now generate "cmake --build" commands. The remaining call sites immediately pass the result to cmSystemTools::RunSingleCommand. Avoid the intermediate string and argument parsing by directly producing a vector of strings. Also drop the ignoreErrors argument because no call sites remain that use it.
* Add projectDir parameter to GenerateBuildCommandPetr Kmoch2013-04-121-0/+1
| | | | | | | | Extend the cmGlobalGenerator::GenerateBuildCommand virtual method signature with a "projectDir" parameter specifying the top of the project build tree for which the build command will be generated. Populate it from call sites in cmGlobalGenerator::Build where a fully-generated build tree should be available.
* Make cmGlobalGenerator::GetDocumentation() a static functionPatrick Gansterer2012-11-191-1/+1
| | | | | Making the function static allows us to call it directly, without creating and removing an instance of the generator.
* Introduce the abstract class cmGlobalGeneratorFactoryPatrick Gansterer2012-11-191-2/+4
| | | | | This new abstract class allows us move some logic from the cmGlobalGenerator into its own layer in a next step.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-10/+10
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Rename/constify build-time config placeholder lookupBrad King2012-03-091-1/+1
| | | | | | Rename cmGlobalGenerator::GetCMakeCFG{InitDirectory => IntDir} to have a shorter name without a typo. Add a 'const' qualifier since the method is only for lookup and never needs to modify anything.
* Refactor VS <= 7.1 utility-depends workaroundBrad King2010-08-241-0/+1
| | | | | | | | | | | | | | | | | | Commit 438a7e2f (Fix utility dependencies for static libraries in VS generators, 2007-04-04) implemented utility-only dependencies between linkable targets by introducing an intermediate non-linkable target. We convert a dependency of the form foo -> bar to the form foo -> bar_UTILITY -> bar to prevent foo from including bar on its link line. Previously we added the extra "_UTILITY" targets explicitly among the project targets before dependency analysis was performed. Now we generate them separately at the last moment so that cmGlobalGenerator need not be aware of them.
* 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.
* Create VS generator GetRegistryBase methodBrad King2009-09-161-0/+3
| | | | | | | | | This method returns the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\<version> A protected GetIDEVersion method retrieves the version-specific part of the key name.
* ENH: remove INCLUDE_EXTERNAL_MSPROJECT name hack, and use target properties ↵Bill Hoffman2009-07-141-1/+1
| | | | instead, fix VXExternalInclude test for VS10
* 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: Added cmGlobalVisualStudioGenerator as superclass to all VS global ↵Brad King2007-04-041-2/+2
| | | | generators.
* BUG: cmGlobalGenerator::Build should not always use the /fast target name ↵Brad King2006-06-011-1/+2
| | | | because dependency checking is often required. It now takes an argument specifying whether to use the /fast target name, and the argument is currently only true for try-compiles.
* STYLE: fix line lengthKen Martin2006-05-111-1/+2
|
* STYLE: fix line lengthsBill Hoffman2006-03-101-2/+5
|
* BUG: Fixed installation of MacOSX Bundle executables and the corresponding ↵Brad King2006-03-031-1/+4
| | | | install_name remapping support. Extended the BundleTest test to check that this all works. Part of these fixes required changing the signature of AppendDirectoryForConfig in all generators. It now accepts prefix and suffix strings to deal with whether leading or trailing slashes should be included with the configuration subdirectory.
* COMP: Even more global target fixesAndy Cedilnik2006-02-241-0/+2
|
* BUG: Fixed cmTarget::GetFullPath to not append the configuration name when ↵Brad King2006-02-031-0/+4
| | | | only one configuration is built. It now asks the generator what subdirectory if any to use for a given configuration name.
* ENH: Add a way for the generated command to include extra flags. This is ↵Andy Cedilnik2005-12-011-1/+1
| | | | useful for CTest (or try compile) to add -j2
* ENH: make LOCATION an computed property of the target and get rid of a bunch ↵Ken Martin2005-06-221-2/+1
| | | | of const junk
* ENH: Add option to ignore errors. Only works on makeAndy Cedilnik2005-04-291-1/+2
|
* COMP: Converting INSTALL->ALL_BUILD dependency implementation to use the ↵Brad King2005-04-291-1/+1
| | | | AddUtility method on a target. This significantly simplifies the implementation and removes warnings about hiding virtual functions.
* ENH: Start working on a method that abstracts generating of build commandAndy Cedilnik2005-04-281-5/+2
|
* ENH: Added dependency from INSTALL target to ALL_BUILD target so that ↵Brad King2005-04-281-1/+1
| | | | targets build before being installed.
* ENH: More ctest changes and move SetupTest to superclassAndy Cedilnik2005-04-011-1/+0
|
* ENH: ctest now uses CMake global generator to do the build part of ↵Ken Martin2005-02-221-4/+8
| | | | build-and-test
* ENH: move project map to global generator baseBill Hoffman2005-01-211-2/+0
|
* ENH: try to initialize all languages at the same timeBill Hoffman2004-08-271-2/+1
|
* BUG: CMAKE_TRY_COMPILE_CONFIGURATION should be obtained from the cmMakefile ↵Brad King2004-08-041-1/+1
| | | | instance for the listfile containing the TRY_COMPILE call, not the top level listfile.
* ENH: add new subdirectory exclude from top optionBill Hoffman2004-03-091-1/+3
|
* remove warningsBill Hoffman2003-11-261-1/+1
|
* ENH: generate a sln and dsw file for each sub project in a projectBill Hoffman2003-11-261-1/+5
|
* ENH: Registered global generators are now kept in a table in the cmake ↵Brad King2003-07-081-1/+5
| | | | instance. Added support for documentation with a Generators section.
* ENH: Visual Studio 6 and 7 generators now set CMAKE_CONFIGURATION_TYPES to ↵Brad King2002-12-201-0/+1
| | | | be a semicolon-separated list of configurations that will be built.
* ENH: unify EnableLanguage across all generatorsBill Hoffman2002-12-051-0/+2
|