tybl / template Goto Github PK
View Code? Open in Web Editor NEWA CMake base C++ template project
License: The Unlicense
A CMake base C++ template project
License: The Unlicense
According to Craig Scott in Professional CMake, "Unless there is a good reason to
structure things that way, keeping the build directory completely outside of the source tree instead
is recommended."
Ignore Wc++98-compat-pedantic
warnings when Weverything
is enabled because the project requires C++11 or greater.
-Weffc++ is very noisy
doctest is used in the unit tests. Keep up to date with the latest released version of doctest
The compile_settings interface library defined in test/CMakeLists.txt
is a duplicate of the compiler_settings
interface library defined in util/cmake/compiler_settings.cmake
. Uses of compile_settings
should be replaced with compiler_settings
.
/util/cmake
contains both CamelCase and snake_case file names. I want to rename one of them to keep them consistent.
FetchContent used git to get dependencies. Git provides full repo
history. Full history is not necessary to build against. Prevent
FetchContent from pulling the full history of a git repository by
providing GIT_SHALLOW TRUE
as an option.
Relevant Links:
Including the entire ISC license at the top of every file is distracting. Instead, indicate the copyright and name the license.
For C++ files:
// Copyright (c) 2020, Timothy Lyons
// License: ISC (https://opensource.org/licenses/ISC)
For CMake files:
################################################################################
# Copyright (c) 2020, Timothy Lyons
# License: ISC (https://opensource.org/licenses/ISC)
################################################################################
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.