Skip to content
Snippets Groups Projects
  1. Nov 08, 2013
  2. Nov 07, 2013
  3. Nov 04, 2013
  4. Nov 03, 2013
  5. Nov 02, 2013
  6. Nov 01, 2013
    • Brad King's avatar
      Help: Limit reference manual toctree depth to 1 · c76e44e7
      Brad King authored
      Add a :maxdepth: option to all toctree directives to limit their depth
      to 1.  We do not want subheadings from individual documents to pollute
      the already large lists of CMake Domain objects.
      c76e44e7
  7. Oct 31, 2013
  8. Oct 30, 2013
    • Brad King's avatar
      cmRST: Add support for the note and productionlist directives · 450b515a
      Brad King authored
      Simply print out the lines as normal paragraph text.  Teach the
      CMakeLib.testRST test to cover this syntax.  Update the
      cmake-developer.7 manual to document support for the directives.
      450b515a
    • Brad King's avatar
      Help: Glob manual/*.rst in Sphinx configuration · f88332f5
      Brad King authored
      Add the man page description line as explicit markup at the top of each
      Help/manual/*.rst file and scan it from conf.py to automatically
      generate the man_pages Sphinx configuration value.  This reduces the
      number of places that need to be changed when a new manual is added.
      f88332f5
  9. Oct 29, 2013
  10. Oct 28, 2013
    • Brad King's avatar
      Help: Organize top-level index · 2c7cd95c
      Brad King authored
      Divide the list of manuals into separate sections each with its own
      title.
      2c7cd95c
    • Brad King's avatar
      VS: Add version year to generator names · 29071fed
      Brad King authored
      Rename the Visual Studio >= 10 generators to indicate the version year:
      
       Visual Studio 10 => Visual Studio 10 2010
       Visual Studio 11 => Visual Studio 11 2012
       Visual Studio 12 => Visual Stduio 12 2013
      
      Report the names with the year to the list of available generators so
      that the cmake-gui drop-down shows the years.  When selecting a
      generator from the "-G" option or from an existing CMAKE_GENERATOR cache
      entry, recognize names without the years for compatibility and map them
      to the names with years.
      
      Update the generator names in the cmake-generators.7 manual.
      29071fed
  11. Oct 24, 2013
    • Stephen Kelly's avatar
      Add automatic rcc invocation for Qt. · 9c87d9cc
      Stephen Kelly authored
      This replaces the need to invoke qt4_add_resources by allowing
      adding the source .qrc file directly to the target sources.
      9c87d9cc
    • Stephen Kelly's avatar
      Add automatic uic invocation for Qt. · 84218e18
      Stephen Kelly authored
      The source files are already processed by cmQtAutomoc to look for
      moc includes, so extend that to also look for ui_ includes and
      find corresponding .ui files to process.
      
      This replaces the need to invoke qt4_wrap_ui().
      
      As the ui files are not likely to be part of the SOURCES of the
      target, store the options associated with them separately in the
      cmMakefile for querying during the autogen run.
      84218e18
    • Stephen Kelly's avatar
    • Stephen Kelly's avatar
      cmTarget: Add interface for compatible numeric properties · ff6c4013
      Stephen Kelly authored
      When using the boost MPL library, one can set a define to increase
      the limit of how many variadic elements should be supported. The
      default for BOOST_MPL_LIMIT_VECTOR_SIZE is 20:
      
       http://www.boost.org/doc/libs/1_36_0/libs/mpl/doc/refmanual/limit-vector-size.html
      
      If the foo library requires that to be set to 30, and the independent
      bar library requires it to be set to 40, consumers of both need to set
      it to 40.
      
       add_library(foo INTERFACE)
       set_property(TARGET foo PROPERTY INTERFACE_boost_mpl_vector_size 30)
       set_property(TARGET foo PROPERTY COMPATIBLE_INTERFACE_NUMBER_MAX boost_mpl_vector_size)
       target_compile_definitions(foo INTERFACE BOOST_MPL_LIMIT_VECTOR_SIZE=$<TARGET_PROPERTY:boost_mpl_vector_size>)
      
       add_library(bar INTERFACE)
       set_property(TARGET bar PROPERTY INTERFACE_boost_mpl_vector_size 40)
       # Technically the next two lines are redundant, but as foo and bar are
       # independent, they both set these interfaces.
       set_property(TARGET bar PROPERTY COMPATIBLE_INTERFACE_NUMBER_MAX boost_mpl_vector_size)
       target_compile_definitions(bar INTERFACE BOOST_MPL_LIMIT_VECTOR_SIZE=$<TARGET_PROPERTY:boost_mpl_vector_size>)
      
       add_executable(user)
       target_link_libraries(user foo bar)
      
      Because the TARGET_PROPERTY reads the boost_mpl_vector_size property
      from the HEAD of the dependency graph (the user target), and because
      that property appears in the COMPATIBLE_INTERFACE_NUMBER_MAX of
      the dependencies of the user target, the maximum value for it is
      chosen for the compile definition, ie, 40.
      
      There are also use-cases for choosing the minimum value of a number.
      In Qt, deprecated API can be disabled by version. Setting the
      definition QT_DISABLE_DEPRECATED_BEFORE=0 disables no deprecated
      API. Setting it to 0x501000 disables API which was deprecated before
      Qt 5.1 etc.
      
      If two dependencies require the use of API which was deprecated in
      different Qt versions, then COMPATIBLE_INTERFACE_NUMBER_MIN can be
      used to ensure that both can compile.
      ff6c4013
  12. Oct 23, 2013
    • Stephen Kelly's avatar
      Docs: Fix typo · f3f49ff7
      Stephen Kelly authored
      opitions -> options.
      f3f49ff7
    • Brad King's avatar
      cmRST: Teach cmake-module directive to scan bracket comments · 2945814d
      Brad King authored
      When scanning CMake module files for .rst comments, recognize
      bracket comments starting in ".rst:" too.  For example:
      
       #[[.rst:
      
      Include the bracket comment content terminated by the closing bracket.
      Exclude the line containing the bracket if it starts in "#".
      
      Teach the CMakeLib.testRST test to cover multiple bracket lengths
      and ending brackets on lines with and without "#".
      
      Update the cmake-developer.7 manual to document the bracket-comment
      syntax for .rst documentation.
      2945814d
    • Brad King's avatar
      cmake-developer.7: Improve flow of module documentation instructions · 8bb2ee96
      Brad King authored
      Use prose instead of enumerated steps and re-order the steps so that
      the cmake-module directive is covered contiguously.
      8bb2ee96
    • Brad King's avatar
      Drop compatibility with CMake < 2.4 · 7d47c693
      Brad King authored
      Drop all behavior activated by setting CMAKE_BACKWARDS_COMPATIBILITY to
      a value lower than 2.4, and generate an error when projects or the user
      attempt to do so.  In the error suggest using a CMake 2.8.x release.
      
      Teach cmake_minimum_required to warn about projects that do not require
      at least CMake 2.4.  They are not supported by CMake >= 3.0.
      
      Replace the documentation of CMAKE_BACKWARDS_COMPATIBILITY with a
      reference to policy CMP0001.
      7d47c693
    • Stephen Kelly's avatar
      Docs: Fix typo. · b0686fde
      Stephen Kelly authored
      dependee -> depender.
      b0686fde
  13. Oct 22, 2013
Loading