Skip to content
Snippets Groups Projects
  1. Aug 23, 2016
    • Brad King's avatar
      Android: Select the STL type for NDK builds · d7d40830
      Brad King authored
      Populate standard include directories and link libraries for the
      platform.  Select the STL corresponding to CMAKE_ANDROID_STL_TYPE and
      matching the current ABI and toolchain to be used.  Refer to the NDK
      sources/cxx-stl/*/Android.mk files for the needed file locations.
      d7d40830
    • Brad King's avatar
      Android: Populate compiler flags for current ABI · b22294bc
      Brad King authored
      Initialize the CMAKE_{C,CXX}_FLAGS{,_<CONFIG>} cache entries with
      flags for each ABI as specified by NDK toolchain `setup.mk` files.
      b22294bc
  2. Aug 12, 2016
  3. Aug 11, 2016
  4. Aug 10, 2016
  5. Aug 09, 2016
    • Chaoren Lin's avatar
      Tests: Fix RunCMake.Framework on case sensitive file systems. · 677e73cb
      Chaoren Lin authored and Brad King's avatar Brad King committed
      The file is lowercase: Tests/RunCMake/Framework/osx.cmake
      677e73cb
    • Brad King's avatar
      Ninja: Add `$subdir/{test,install,package}` targets · 02789894
      Brad King authored
      With the Makefile generator one can use `cd $subdir; make install` to build and
      install targets associated with a given subdirectory.  This is not possible to
      do with the Ninja generator since there is only one `build.ninja` file at the
      top of the build tree.  However, we can approximate it by allowing one to run
      `ninja $subdir/install` at the top of the tree to build the targets in the
      corresponding subdirectory and install them.
      
      This also makes sense for `test`, `package`, and other GLOBAL_TARGET targets.
      It was already done for `all` by commit v3.6.0-rc1~240^2~2 (Ninja: Add
      `$subdir/all` targets, 2016-03-11).
      02789894
    • Brad King's avatar
      Ninja: Simplify computation of GLOBAL_TARGET outputs · a88c99f1
      Brad King authored
      In cmGlobalNinjaGenerator::AppendTargetOutputs we previously
      handled GLOBAL_TARGET outputs specially in order to avoid adding
      directory components to the output.  However, this is not necessary
      because cmNinjaTargetGenerator::New already filters out copies of
      these targets that are not at the top level.  Instead we can simply
      follow the same output computation code path as UTILITY targets.
      a88c99f1
    • Gregor Jasny's avatar
      Xcode: Obey SYSTEM keyword for includes (#15687) · 93ac2a78
      Gregor Jasny authored
      CMake used to put all header search paths into HEADER_SEARCH_PATHS
      attribute. Unfortunately this attribute does not support to declare
      a search path as a system include.
      
      As a hack one could add a -isystem /path to the cflags but then include
      ordering is not deterministic. A better approach was chosen with this
      patch by not filling HEADER_SEARCH_PATHS at all and to populate
      the C, C++, and Fortran flags directly. The include paths used by
      Xcode should be now identical to the ones used by Unix Makefiles and
      Ninja generator.
      93ac2a78
    • Neil Carlson's avatar
      NAG: Use -PIC for Fortran position-independent executable code · e9c98426
      Neil Carlson authored and Brad King's avatar Brad King committed
      The Numerical Algorithms Group (NAG) Fortran compiler documents -PIC for
      position-independent code and does not have a separate option for PIE.
      We added `-PIC` for PIC in commit v2.8.11~174^2 (NAG: Use -PIC for
      Fortran position-independent code, 2013-02-18).  Follow up for PIE.
      
      Closes: #16236
      e9c98426
    • Brad King's avatar
      install(EXPORT): Fix support for mid-length install destinations on Windows · c7a319ab
      Brad King authored
      
      The implementation of `install(EXPORT)` generates files into a staging
      directory for later installation.  We use the full install destination
      in the path to the staging directory to avoid collisions.  In order to
      avoid exceeding maximum path lengths (especially on Windows) we compute
      a hash of the install destination when it is too long.  Fix this logic
      to account for the length of the file name(s) when deciding whether to
      switch to the hashed name.
      
      Reported-by: default avatarAlan W. Irwin <irwin@beluga.phys.uvic.ca>
      c7a319ab
Loading