Skip to content
Snippets Groups Projects
  1. Jun 18, 2015
    • Alex Turbov's avatar
      GNUInstallDirs: Add special cases for certain prefixes · c8bd37ec
      Alex Turbov authored and Brad King's avatar Brad King committed
      Teach the module to handle SYSCONFDIR and LOCALSTATEDIR properly if
      CMAKE_INSTALL_PREFIX is set to `/` or `/usr` -- i.e. as expected by GNU
      Coding Standard (i.e. set SYSCONFDIR to `/etc` and `LOCALSTATEDIR` to
      `/var`).  Also if CMAKE_INSTALL_PREFIX is set to /opt/pkg, `SYSCONFDIR`
      must be set to `/etc/opt/pkg` and `LOCALSTATEDIR` to `/var/opt/pkg`
      according to FHS.
      c8bd37ec
    • Brad King's avatar
      GNUInstallDirs: Add test cases · 5f30f175
      Brad King authored
      
      Add a RunCMake.GNUInstallDirs test with cases covering various install
      prefixes.  Hard-code the architecture information.  Tolerate all
      platform-specific LIBDIR values.
      
      Currently the root prefix is not handled well, but verify the current
      behavior in the test anyway.  This can be addressed with a future
      change.
      
      Inspired-by: default avatarAlex Turbov <i.zaufi@gmail.com>
      5f30f175
  2. Jun 16, 2015
  3. Jun 15, 2015
  4. Jun 14, 2015
  5. Jun 13, 2015
  6. Jun 12, 2015
  7. Jun 11, 2015
  8. Jun 10, 2015
  9. Jun 09, 2015
  10. Jun 08, 2015
Loading