Skip to content
Snippets Groups Projects
  1. Sep 02, 2014
  2. Aug 21, 2014
  3. Jul 31, 2014
  4. Jul 29, 2014
  5. Jul 23, 2014
    • Brad King's avatar
      cmIDEOption: Store mapped flag values as a vector<string> · 1c209ac1
      Brad King authored
      Some FlagMap entries are ;-lists.  Store values as vector<string> so
      that individual values may contain ';' characters.  Delay the
      construction of the final ;-list until writing to the VS project file.
      With this approach the generated file may contain ;-separated values
      that contain encoded ';' characters.
      1c209ac1
  6. Jul 17, 2014
    • Brad King's avatar
      VS: Make MS-tool-specific options conditional · 7a9909db
      Brad King authored
      Make blocks adding MS-tool-specific options conditional on a
      new "MSTools" boolean member of cmVisualStudio10TargetGenerator.
      Hard-code the member to true for now to preserve existing behavior.
      7a9909db
  7. Jul 10, 2014
  8. Jun 09, 2014
    • Brad King's avatar
      VS: Factor MS-tool-specific vcxproj settings into helper · 1edaef39
      Brad King authored
      Factor a WriteMSToolConfigurationValues helper method out of the
      cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues method
      to isolate the configuration settings specific to MS tools.
      1edaef39
    • Brad King's avatar
      VS: Refactor flag table lookup · ee329d54
      Brad King authored
      In cmVisualStudio10TargetGenerator, convert the static functions
      currently used to lookup the flag table for each tool into class
      methods.  This avoids passing the this->LocalGenerator member and
      gives the methods access to other information that may be useful
      in the future.
      ee329d54
  9. Mar 13, 2014
  10. Mar 08, 2014
    • Ben Boeckel's avatar
      stringapi: Pass configuration names as strings · 84fdc992
      Ben Boeckel authored and Brad King's avatar Brad King committed
      84fdc992
    • Ben Boeckel's avatar
      strings: Remove cmStdString references · 270eb96d
      Ben Boeckel authored and Brad King's avatar Brad King committed
      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.
      270eb96d
  11. Nov 19, 2013
  12. Jun 28, 2013
    • Jonas Andersen's avatar
      VS: Add Resx configuration to the vcxproj file · 6c9712c4
      Jonas Andersen authored and Brad King's avatar Brad King committed
      In my project group we are using CMake to generate c++/cli winform
      projects and I noticed the work done in commit 79ec7868 (VS: Add Windows
      Forms Support, 2013-04-29) was in the right direction for solving some
      of the problems we were facing.
      
      The changes as submitted was breaking some functionality in our
      projects, so I made some changes that fixes our problems and I believe
      that it will also work for others.
      
      * Resx files did not link correctly with the winform h-file so I added
        the Resx configuration to the vcxproj file.
      
      * I removed the functionality for setting <CLRSupport> true for the
        project based on if an resx-file is pressent.  This is preventing
        us from using native cpp code.  Also this do not address that some
        projects will need to set other options like clr:pure, clr:safe.
        This could be implemented as a cmake option, so it is possible to
        specify exactly what is needed.  Existing VSWindowsFormsResx Test
        project is updated so it will be working with my changes.
      6c9712c4
  13. May 16, 2013
    • John Farrier's avatar
      VS: Add Windows Forms Support · 79ec7868
      John Farrier authored and Brad King's avatar Brad King committed
      Add support to maintain designer functionality for Visual Studio C++
      Windows Forms projects.  Also add a test project showing how to use
      the CMakeLists.txt file and, when successfully configured, will allow
      use of the designer for the included form.
      79ec7868
  14. Oct 26, 2012
    • Brad King's avatar
      VS10: Refactor link options collection · c65a2ea6
      Brad King authored
      Avoid collecting the link options twice.  Collect them once in a
      LinkOptions member and use it from both places.  We already do this for
      compiler options with the ClOptions member.
      c65a2ea6
  15. Aug 13, 2012
    • Kitware Robot's avatar
      Remove trailing whitespace from most CMake and C/C++ code · 7bbaa428
      Kitware Robot authored and Brad King's avatar Brad King committed
      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/ \+$//'
      7bbaa428
  16. Apr 27, 2012
    • Brad King's avatar
      VS10: Convert paths normally unless forced to relative · 4248132e
      Brad King authored
      Most CMake generators produce relative paths within the build tree and
      full paths to files outside the build tree.  Make VS 10 and VS 11
      project files consistent with this approach except for paths forced to
      be relative to work around a VS 10 bug.
      4248132e
    • Brad King's avatar
      VS10: Simplify vcxproj.filter file generation · c2ba6ba4
      Brad King authored
      Remove the duplicate source file classification logic used to generate
      the filter files.  Instead record during the main vcxproj file
      generation the source files generated for each tool.  Also record
      whether or not each source file is converted to a relative path.  Use
      the recorded result during filter generation to ensure consistency
      between the project file and filter file.
      c2ba6ba4
    • Brad King's avatar
      VS10: Refactor custom commands to use WriteSource · 4f2d9d2d
      Brad King authored
      All other source file elements are already written through WriteSource.
      Refactor custom command source element generation into WriteSource too.
      4f2d9d2d
  17. Mar 19, 2012
  18. Mar 09, 2012
  19. Feb 03, 2012
  20. Nov 28, 2011
    • Aaron Ten Clay's avatar
      VS: Add support for three new project properties (#12586) · a1f976ce
      Aaron Ten Clay authored and Brad King's avatar Brad King committed
      VS_GLOBAL_PROJECT_TYPES: A string containing UUIDs to embed in the
      Visual Studio project file under <ProjectTypes>.
      
      VS_GLOBAL_KEYWORD: Allows specification of a keyword like "ManagedCProj"
      instead of the default "Win32Proj", under <Keyword>
      
      VS_DOTNET_REFERENCES: Semicolon-delimited list of .NET references to add
      to the project, which creates a new <ItemGroup>.
      a1f976ce
  21. Sep 30, 2010
    • Brad King's avatar
      VS10: Skip targets with no linker language (#11230) · 448661fb
      Brad King authored
      In targets with no non-header files the linker language cannot be
      determined.  Since the target project file cannot be generated at all in
      this case, give up as soon as it is detected.  Otherwise the generation
      code may try to run with uninitialized information.
      448661fb
  22. Jun 11, 2010
  23. Oct 28, 2009
  24. Oct 23, 2009
    • Brad King's avatar
      Detect and set Unicode character set in VS 10 · 5484550a
      Brad King authored
      This commit teaches the VS 10 generator to detect the -D_UNICODE option
      in preprocessor definitions and set the CharacterSet attribute to the
      value 'Unicode'.  This was already done for other VS IDE versions.
      
      See issue #9769
      5484550a
  25. Oct 22, 2009
  26. Oct 01, 2009
  27. Sep 28, 2009
    • Brad King's avatar
      Convert CMake to OSI-approved BSD License · 96afb120
      Brad King authored
      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.
      96afb120
  28. Sep 07, 2009
    • Brad King's avatar
      Put custom commands in topological order for VS 10 · 4e16813f
      Brad King authored
      Visual Studio 10 uses MSBuild to drive the build.  Custom commands
      appear in MSBuild files inside CustomBuild elements, which appear inside
      ItemGroup elements.  The Outputs and AdditionalInputs elements of each
      CustomBuild element are evaluated according to timestamps on disk.
      
      MSBuild does not use inputs/outputs to order CustomBuild steps within a
      single ItemGroup or across multiple ItemGroup elements.  Instead we must
      put only unrelated CustomBuild elements in a single ItemGroup and order
      the item groups from top to bottom using a topological order of the
      custom command dependency graph.
      
      This fixes CustomCommand and ExternalProject test failures, so we remove
      the expectation of these failures.
      4e16813f
  29. Jul 13, 2009
  30. Jul 11, 2009
  31. Jul 10, 2009
  32. Jun 28, 2009
  33. Jun 25, 2009
Loading