/cmake

CMake scripts for Staticlibs projects

Primary LanguageCMakeApache License 2.0Apache-2.0

CMake helper scripts for Staticlibs projects

This project is a part of Staticlibs.

This project contains CMake scripts that can be used with Staticlibs projects.

Toolchains

toolchain directory contains a set of predefined CMake toolchain files. See StaticlibsToolchains for more information about toolchains.

Macros

macros directory contain common CMake macros for dependency tracking, collecting and enabling tests with memory check command and docs generation using Doxygen. All macros can be included with this command:

include ( some/path/cmake/staticlibs_common.cmake )

See StaticlibsDependencies for more information about staticlib_add_subdirectory macro.

See PkgConfig for more information about staticlib_pkg_check_modules macro.

Doxygen

doxygen directory contains a template for Doxyfile that is used to generate API documentation for Staticlibs projects.

Resources

####Creset

Helper script for cleaning CMake build directory.

####Crosstool

crosstool directory contains configuration files for the crosstool-NG toolchain building utility.

####Musl

Patches that are required for some third-party projects to support musl libc.

####Shortcuts

Shortcut scripts for common building scenarios.

License information

This project is released under the Apache License 2.0.

Changelog

2017-04-28

  • version 1.3.6
  • revert min cmake version to 2.8.12

2016-01-25

  • version 1.3.5
  • deplibs cache path fix on windows

2015-11-19

  • version 1.3.4
  • deplibs cache path fix on windows

2015-11-17

  • version 1.3.3
  • support for deplibs cache

2015-11-15

  • version 1.3.2
  • alpine_amd64_gcc toolchain added

2015-11-13

  • version 1.3.1
  • unify cmake lib and exec directory to bin

2015-10-20

  • version 1.3.0
  • pkg-config support
  • add_subdirectory macro changed

2015-07-05

  • version 1.2.0
  • hardfloat toolchain for Raspberry
  • NDEBUG for all Release builds
  • creset script for Windows

2015-06-30

  • version 1.1.0
  • linux_armcortexa7_gcc toolchain added
  • add_subdirectory macro now requires path to dependency

2015-05-17

  • 1.0.0, initial public version