Skip to content

OpenCz/ZLearn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZLearn

CI

A C++17 machine learning library.

Building

Requirements: CMake 3.21+, a C++17-capable compiler (GCC 10+, Clang 10+, MSVC 2019+), and internet access for the first configure (Catch2 is fetched automatically).

# Configure
cmake -B build

# Build
cmake --build build

# Run tests
ctest --test-dir build --output-on-failure

Release build:

cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build

Layout

include/zlearn/   public headers
src/              library source files
tests/            Catch2 test suite

Adding a test

Create a .cpp file under tests/ and register it in tests/CMakeLists.txt:

add_executable(test_myfeature test_myfeature.cpp)
target_link_libraries(test_myfeature PRIVATE zlearn Catch2::Catch2WithMain)
catch_discover_tests(test_myfeature)

About

Just my ML lib in C++

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors