diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..4550bc1 --- /dev/null +++ b/404.html @@ -0,0 +1,395 @@ + + + +
+ + + + + + + + + + + + + + +CTemp |
#include <temp.hpp>
+Public Member Functions | |
Temp (int pVar) | |
void | print () |
+Public Attributes | |
int | mVar |
+
|
+ +explicit | +
void Temp::print | +( | +) | ++ |
+Files | |
temp_ex.c | |
+Directories | |
example | |
+Files | |
template.c | |
+Directories | |
PackageName | |
+Files | |
temp.hpp | |
template.h | |
▼ include | |
▼ PackageName | |
temp.hpp | |
template.h | |
▼ src | |
▼ example | |
temp_ex.c | |
template.c |
This repository is a template for C/C++ packages.
+Use this template
from the repository toolbar and give it a new name.Clone the new
repository
PackageName
in the CMakeLists.txt file, header and source files, folder names, config file, etc.or
+Initialize the git repository
+git
repository is initialized.Run the following command in the root
directory of the package to install the pre-commit hooks.
Create a build directory for the package
+Run the following command in the build directory
+-DCMAKE_INSTALL_PREFIX=../../install
: Specifies the installation directory-DCMAKE_BUILD_TYPE=Debug
: Specifies the build type (Debug, Release, RelWithDebInfo, MinSizeRel)-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
: Generates compile_commands.json file-DENABLE_TESTS=ON
: Enables the unit tests-DENABLE_DOC=ON
: Enables the documentation generationBuild the package
+ENABLE_TESTS
is set to ON
, the tests will be built as well.Install the package
+build
and install
paths in the clang-format
and clang-tidy
hooks, based on your workspace setup.Set up build
and Configure and build
in the build_format_lint.yml, if you have a different build setup.