Commit Graph

227 Commits

Author SHA1 Message Date
vitaut
21b8279cfe Remove biicode because it has been shut down 2016-02-09 21:25:52 -08:00
vitaut
b8c6192a61 Simplify build config and enable C++11 by default 2016-02-09 08:43:39 -08:00
Mario Werner
016af73d19 fixed typo in script 2016-02-07 18:47:39 +01:00
Mario Werner
f961683516 specify c++11 as c++0x for travis 2016-02-07 18:41:46 +01:00
Mario Werner
27a1b787c8 test in c++ 98, 03 and 11 mode 2016-02-07 18:32:23 +01:00
Mario Werner
6a79a3279b build and test in c++11 and in c++98 mode 2016-02-07 18:23:02 +01:00
Mario Werner
be961bae0f fixed typo in python script 2016-02-01 10:41:45 +01:00
Mario Werner
0a4acc9656 use the cmake and ctest to drive the appveyor build 2016-02-01 10:22:47 +01:00
Mario Werner
0fb474be3a outlined the compiler feature tests to improve script readability 2016-01-29 13:03:47 +01:00
vitaut
22f61140d1 Format CMake files, ignore generated files and don't copy header 2016-01-13 07:14:32 -08:00
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
vitaut
fac207816c Update release script 2015-11-30 08:23:16 -08:00
vitaut
289885e8c0 Fix branch detection on Travis 2015-11-23 08:47:46 -08:00
vitaut
96731cebe1 Print branch name 2015-11-23 08:21:22 -08:00
vitaut
ef5e5e02b4 Only update docs from master branch on travis 2015-11-12 08:47:07 -08:00
vitaut
11f946efff Make release script create a GitHub release 2015-11-12 07:39:09 -08:00
vitaut
5e37698911 Implement release script 2015-11-11 08:41:29 -08:00
vitaut
477962884e Add a release script 2015-11-10 08:20:21 -08:00
vitaut
9beb01d8e5 Add an appveyor/cmake workaround 2015-11-04 10:19:59 -05:00
vitaut
3814a07c44 Handle fast forward in update-coverity-branch.py 2015-10-20 07:14:40 -07:00
vitaut
317ff51fd9 Add a script to update the coverity branch 2015-10-19 08:08:23 -07:00
vitaut
931173ab77 Move appveyor.yml to support 2015-10-19 08:05:09 -07:00
vitaut
cdcdacef9c Handle undefined $PLATFORM 2015-08-07 07:21:43 -07:00
vitaut
43081b833a Build both on x86 and x64 2015-08-07 07:08:12 -07:00
vitaut
2c6e32f6ff Simplify appveyor config 2015-08-07 06:41:07 -07:00
vitaut
0332284ce3 Fix MinGW build on Appveyor by changing search path order
C:\MinGW\bin should go first to prevent executables from older
version of MinGW in C:\MinGW\mingw32 being picked up.
2015-06-29 07:22:45 -07:00
vitaut
279749168a Try to work around an issue with msbuild caused by Appveyor update 2015-06-27 08:38:26 -07:00
vitaut
99edb141ec Don't try updating cppformat.github.io without permissions 2015-06-04 12:52:42 -07:00
vitaut
d8a3b74664 Simplify download with urllib.urlretrieve 2015-05-24 08:03:22 -07:00
vitaut
5a61d54eb7 Install newer version of Doxygen because of a bug in version 1.7.6.1 (#162) 2015-05-24 07:48:06 -07:00
vitaut
c389ec05a1 Redirect from RTD to GitHub Pages 2015-05-22 06:47:05 -07:00
vitaut
dfe2a65b5d Remove diagnostics and re-enable build configs 2015-05-21 20:25:15 -07:00
vitaut
efba235246 Regenerate key and prevent leakage 2015-05-21 19:29:45 -07:00
vitaut
44fabfc803 Add diagnostics 2015-05-21 19:01:47 -07:00
vitaut
37141a1e3f Install less-plugin-clean-css 2015-05-21 08:26:36 -07:00
vitaut
719208c24b Now do the same as root 2015-05-21 08:14:47 -07:00
vitaut
3e49279267 Add APT key 2015-05-21 08:03:00 -07:00
vitaut
595845153d Fix nodesource.list creation 2015-05-21 07:20:26 -07:00
vitaut
f77b00e1f7 Try installing new version of lessc 2015-05-21 07:04:56 -07:00
vitaut
eb20f8aece Try installing lessc 2015-05-20 18:22:53 -07:00
vitaut
fbc2fcb3e2 Create a link for node_modules 2015-05-20 12:29:47 -07:00
vitaut
469f3674cf Ignore build files and simplify building docs locally 2015-05-20 08:28:54 -07:00
vitaut
f9936c4859 Build docs on travis 2015-05-20 08:06:12 -07:00
vitaut
a5757c86df FMT_EXTRA_TESTS -> FMT_PEDANTIC and use it to control extra warnings 2015-05-12 07:35:29 -07:00
vitaut
6dd532b456 Add mingw bin directory to path and enable mingw build 2015-03-12 06:13:51 -07:00
Victor Zverovich
da547f5533 Fix mingw build, take 2 2015-03-10 09:43:12 -07:00
Victor Zverovich
961097315c Fix mingw build 2015-03-10 09:18:31 -07:00
Victor Zverovich
f9e1c2bd59 Use preinstalled mingw on appveyor 2015-03-10 08:52:39 -07:00
Victor Zverovich
4ff6ab396c Fix biicode build script 2015-03-04 09:24:54 -08:00
Victor Zverovich
14d1fb561f Don't run biicode on Travis 2015-03-04 09:22:52 -08:00
Victor Zverovich
7ae6dfbcba Fix cmake command 2015-03-04 08:57:56 -08:00
Victor Zverovich
bdada10c2c Only run biicode-build on Linux and print cmake version 2015-03-04 08:53:51 -08:00
Victor Zverovich
65cf5414c9 Temporarily disable biicode build 2015-03-04 08:33:13 -08:00
Victor Zverovich
cb40e7c60b Fix biicode-build script 2015-03-04 08:24:35 -08:00
Victor Zverovich
3a9b7ad8b6 Pass env to bii 2015-03-04 08:07:26 -08:00
Victor Zverovich
38b5f573dd Set CMAKE_ROOT 2015-03-04 08:01:56 -08:00
Victor Zverovich
5ad6c6bd7f Use correct path to CMake bin directory, take 2 2015-03-04 07:51:09 -08:00
Victor Zverovich
85ef48cb6d Use correct path to CMake bin directory 2015-03-04 07:36:30 -08:00
Victor Zverovich
a6864a7264 Fix CMake installation and enable biicode build 2015-03-04 07:07:13 -08:00
Victor Zverovich
e1b62a5d39 Install CMake in system dirs 2015-03-03 22:12:37 -08:00
Victor Zverovich
4d208ae86f Install newer version of cmake 2015-03-03 22:07:20 -08:00
Victor Zverovich
e6113fb9f5 Rewrite biicode build script in Python and simplify 2015-03-03 21:45:47 -08:00
Victor Zverovich
267d4542bb Remove unnecessary stuff from biicode-build.sh 2015-03-02 07:54:13 -08:00
Victor Zverovich
ee5443e920 Move biicode files to support/biicode 2015-03-02 07:48:57 -08:00
Victor Zverovich
63b4f0ae1a build.py -> appveyor-build.py 2015-03-01 17:20:22 -08:00
Victor Zverovich
5bea8a649b Move biicode C++ Format sample to support/biicode/sample.cc 2015-03-01 17:12:14 -08:00
Victor Zverovich
1244f3d58f Move biicode.cmake to support/cmake 2015-03-01 17:00:53 -08:00
Victor Zverovich
656f0895ed Add readme 2015-03-01 16:48:08 -08:00
Victor Zverovich
5a51aac85e Move biicode build script to support/biicode-build.sh 2015-03-01 16:46:44 -08:00
Victor Zverovich
67089022bf Run test commands during CI builds 2015-03-01 15:21:33 -08:00
Victor Zverovich
2b35c9e8e7 Move CMake files to support 2015-02-21 16:02:44 -08:00
Victor Zverovich
a16ca84346 Use mirror 2015-02-17 09:19:49 -08:00
Victor Zverovich
88835f8468 Fix mingw download URL 2015-02-17 09:16:50 -08:00
Victor Zverovich
950e6b9753 Fix downloader 2015-02-12 21:34:36 -08:00
Victor Zverovich
c110f7b8d3 Move the code from appveyor config to a Python script
No more PowerShell rubbish, yay!
2015-02-12 17:53:39 -08:00
Victor Zverovich
609f33c94a Fix appveyor script 2015-02-12 15:41:30 -08:00
Victor Zverovich
2ced92529d Move logic from travis.yml to a Python script 2015-02-12 15:34:38 -08:00