OneLibrary is a C++ library that allows you to more easily create applications that interact with user input.
See examples. TODO: Add examples here as well as the docs.
- Using CPM by adding
CPMAddPackage("gh:szymonj99/OneLibrary#{COMMIT_HASH_HERE}")
- Your own way of adding a C++ library of choice
See the license file (subject to change)
./inlude - The header files
./src - The source files
./tests - The test files
git clone https://github.com/szymonj99/OneLibrary
cd OneLibrary
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
- Use
TRUE
andFALSE
rather thanON
orOFF
Read more about which dependency was chosen here
- OneControl
- To add your project to this list, create a PR! 👍
If you want to make changes to this library, you can test these changes locally. For example, if you have a project that uses this as a dependency through CPM, you can instead do the following:
git clone [email protected]:szymonj99/OneLibrary.git
one level up from your current project- Add
CPMAddPackage(NAME OneLibrary PATHS ../OneLibrary)
to yourCMakeLists.txt
to add in the dependency from local files. For further information, see this.