fmt/support
Mario Werner daf74ae0b1 upgrades to cmake 2.8.12 and adds config and export support
This commit upgrades cmake to 2.8.12 to implement proper cmake
`find_package` support using config and export file generation.
Having this support enables users to use installed cppformat
with a simple `find_package` call. Directly using a version
from a build directory is also supported.

main.cpp:
```
 #include <cppformat/format.h>
int main(int argc, char** argv)
{
  for(int i = 0; i < argc; ++i)
    fmt::print("{}: {}\n",i,argv[i]);
  return 0;
}

```

CMakeLists.txt:
```
cmake_minimum_required(VERSION 2.8.12)

project(cppformat-test)

find_package(cppformat REQUIRED)

add_executable(cppformat-test "main.cpp")
target_link_libraries(cppformat-test cppformat)

```
Configuring when cppformat is installed under `CMAKE_INSTALL_PREFIX`: `cmake <PATH_TO_TEST_SRC>`

Configuring when cppformat is installed `ELSEWHERE`: `cmake -Dcppformat_DIR=<ELSEWHERE>/lib/cmake/cppformat <PATH_TO_TEST_SRC>`

Configuring when cppformat is only built: `cmake -Dcppformat_DIR=<cppformat_BUILD_DIR> <PATH_TO_TEST_SRC>`
2016-01-12 12:47:19 +01:00
..
biicode Move biicode files to support/biicode 2015-03-02 07:48:57 -08:00
cmake upgrades to cmake 2.8.12 and adds config and export support 2016-01-12 12:47:19 +01:00
rtd Redirect from RTD to GitHub Pages 2015-05-22 06:47:05 -07:00
appveyor-build.py Handle undefined $PLATFORM 2015-08-07 07:21:43 -07:00
appveyor.yml Add an appveyor/cmake workaround 2015-11-04 10:19:59 -05:00
biicode-build.py Fix biicode build script 2015-03-04 09:24:54 -08:00
download.py Fix downloader 2015-02-12 21:34:36 -08:00
README Add readme 2015-03-01 16:48:08 -08:00
release.py Update release script 2015-11-30 08:23:16 -08:00
timer.py Move the code from appveyor config to a Python script 2015-02-12 17:53:39 -08:00
travis-build.py Fix branch detection on Travis 2015-11-23 08:47:46 -08:00
update-converity-branch.py Handle fast forward in update-coverity-branch.py 2015-10-20 07:14:40 -07:00

This directory contains build support files such as

* CMake modules
* Build scripts