-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hopefully have raised QuickCppLib on CDash and docs now are auto-comm…
…itted to gh-pages
- Loading branch information
Showing
8 changed files
with
156 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# CTest script for a CI to submit to CDash a run of configuration, | ||
# building and testing | ||
cmake_minimum_required(VERSION 3.1 FATAL_ERROR) | ||
list(FIND CMAKE_MODULE_PATH "quickcpplib" quickcpplib_idx) | ||
if(${quickcpplib_idx} EQUAL -1) | ||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake") | ||
endif() | ||
include(BoostLiteUtils) | ||
|
||
|
||
CONFIGURE_CTEST_SCRIPT_FOR_CDASH("outcome" "cmake_ci") | ||
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY}) | ||
include(FindGit) | ||
set(CTEST_GIT_COMMAND "${GIT_EXECUTABLE}") | ||
|
||
ctest_start("Experimental") | ||
ctest_update() | ||
ctest_configure() | ||
ctest_build() | ||
ctest_test(RETURN_VALUE retval) | ||
merge_junit_results_into_ctest_xml() | ||
#ctest_upload(FILES ) | ||
ctest_submit() | ||
if(NOT retval EQUAL 0) | ||
message(FATAL_ERROR "FATAL: Running tests exited with ${retval}") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# CTest script for a CI to submit to CDash a documentation generation run | ||
cmake_minimum_required(VERSION 3.1 FATAL_ERROR) | ||
list(FIND CMAKE_MODULE_PATH "quickcpplib" quickcpplib_idx) | ||
if(${quickcpplib_idx} EQUAL -1) | ||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake") | ||
endif() | ||
include(BoostLiteUtils) | ||
|
||
|
||
CONFIGURE_CTEST_SCRIPT_FOR_CDASH("quickcpplib" "cmake_ci") | ||
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY}) | ||
include(FindGit) | ||
set(CTEST_GIT_COMMAND "${GIT_EXECUTABLE}") | ||
#checked_execute_process("git reset" | ||
# COMMAND "${GIT_EXECUTABLE}" checkout gh-pages | ||
# COMMAND "${GIT_EXECUTABLE}" reset --hard ae7119571a3c81cb9a683a21f2759df1d742e998 | ||
# WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/doc/html" | ||
#) | ||
|
||
ctest_start("Documentation") | ||
ctest_update() | ||
checked_execute_process("git reset" | ||
COMMAND "${GIT_EXECUTABLE}" checkout gh-pages | ||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/doc/html" | ||
) | ||
ctest_configure() | ||
ctest_build(TARGET quickcpplib_docs) | ||
#checked_execute_process("git commit" | ||
# COMMAND "${GIT_EXECUTABLE}" commit -a -m "upd" | ||
# COMMAND "${GIT_EXECUTABLE}" push -f origin gh-pages | ||
# WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/doc/html" | ||
#) | ||
ctest_submit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## This file should be placed in the root directory of your project. | ||
## Then modify the CMakeLists.txt file in the root directory of your | ||
## project to incorporate the testing dashboard. | ||
## | ||
## # The following are required to submit to the CDash dashboard: | ||
## ENABLE_TESTING() | ||
## INCLUDE(CTest) | ||
|
||
set(CTEST_PROJECT_NAME "QuickCppLib") | ||
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") | ||
|
||
set(CTEST_DROP_METHOD "http") | ||
set(CTEST_DROP_SITE "my.cdash.org") | ||
set(CTEST_DROP_LOCATION "/submit.php?project=QuickCppLib") | ||
set(CTEST_DROP_SITE_CDASH TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,47 @@ | ||
# QuickCppLib - Eliminate all the tedious hassle when making state-of-the-art C++ 14 or 17 libraries! | ||
<center> | ||
# Quick C++ Libraries | ||
|
||
Eliminate all the tedious hassle when making state-of-the-art C++ 14 or 17 libraries! | ||
|
||
(C) 2014-2017 Niall Douglas http://www.nedproductions.biz/ | ||
|
||
Linux: [![Build Status](https://travis-ci.org/ned14/quickcpplib.svg?branch=master)](https://travis-ci.org/ned14/quickcpplib) Windows: [![Build status](https://ci.appveyor.com/api/projects/status/8974h34i4i4233vy/branch/master?svg=true)](https://ci.appveyor.com/project/ned14/quickcpplib/branch/master) | ||
Linux & MacOS: [![Build Status](https://travis-ci.org/ned14/quickcpplib.svg?branch=master)](https://travis-ci.org/ned14/quickcpplib) Windows: [![Build status](https://ci.appveyor.com/api/projects/status/8974h34i4i4233vy/branch/master?svg=true)](https://ci.appveyor.com/project/ned14/quickcpplib/branch/master) | ||
|
||
CTest dashboard: http://my.cdash.org/index.php?project=QuickCppLib | ||
|
||
Reference docs: https://ned14.github.io/quickcpplib/ | ||
Documentation: https://ned14.github.io/quickcpplib/ | ||
|
||
Would you like state-of-the-art modern cmake 3 build with all the fancy features ready to go like address, memory, thread and undefined behaviour sanitisers, clang-tidy linting, doxygen docs generation, git submodule dependency tracking and ABI version stamping, C++ Modules support and more? | ||
|
||
Would you like to generate partially preprocessed single header file editions of your library for maximum convenience and ease of install for your end users? | ||
|
||
Would you like a collection of highly reusable useful routines and code built on top of the C++ 14 STL? | ||
|
||
Then this is the library you've been looking for! Designed for use as an embedded git submodule, but can also be used as a partially preprocessed single file download with ONLY the specific bits your library uses. | ||
Then this is the library you've been looking for! Designed for use as an **embedded git submodule**, but can also be used to generate by script libraries which don't look like they are QuickCppLib based e.g. apparently authentic Boost libraries. | ||
|
||
**WARNING: This library is in a highly alpha code state. As much as it has been written to a very high quality and has been tested quite extensively in use by other libraries, it remains in substantial flux and is as such a shifting foundation. You have been warned!** | ||
|
||
## Todo: | ||
|
||
- [ ] Get docs auto updating per commit | ||
- [ ] Raise CDash dashboard | ||
- [ ] Write `class packed_backtrace`. Add testing. | ||
- [ ] Write script which can generate a Boost library from a quickcpplib library, copying just | ||
the parts needed. | ||
|
||
## Commits and tags in this git repository can be verified using: | ||
<pre> | ||
-----BEGIN PGP PUBLIC KEY BLOCK----- | ||
Version: GnuPG v2 | ||
|
||
mDMEVvMacRYJKwYBBAHaRw8BAQdAp+Qn6djfxWQYtAEvDmv4feVmGALEQH/pYpBC | ||
llaXNQe0WE5pYWxsIERvdWdsYXMgKHMgW3VuZGVyc2NvcmVdIHNvdXJjZWZvcmdl | ||
IHthdH0gbmVkcHJvZCBbZG90XSBjb20pIDxzcGFtdHJhcEBuZWRwcm9kLmNvbT6I | ||
eQQTFggAIQUCVvMacQIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgAAKCRCELDV4 | ||
Zvkgx4vwAP9gxeQUsp7ARMFGxfbR0xPf6fRbH+miMUg2e7rYNuHtLQD9EUoR32We | ||
V8SjvX4r/deKniWctvCi5JccgfUwXkVzFAk= | ||
=puFk | ||
-----END PGP PUBLIC KEY BLOCK----- | ||
</pre> | ||
|
||
</center> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Note the second line of this file must ALWAYS be the git SHA, third line ALWAYS the git SHA update time | ||
#define QUICKCPPLIB_PREVIOUS_COMMIT_REF bf5dc208b727a0377ee35aa98d90ede56c47735c | ||
#define QUICKCPPLIB_PREVIOUS_COMMIT_DATE "2017-06-10 22:44:52 +00:00" | ||
#define QUICKCPPLIB_PREVIOUS_COMMIT_UNIQUE bf5dc208 | ||
#define QUICKCPPLIB_PREVIOUS_COMMIT_REF 4483838e4667985c5b5ea241f8125879586147f3 | ||
#define QUICKCPPLIB_PREVIOUS_COMMIT_DATE "2017-06-10 23:11:47 +00:00" | ||
#define QUICKCPPLIB_PREVIOUS_COMMIT_UNIQUE 4483838e |