Initial commit as Claude developed it
Some checks failed
CI/CD Pipeline / Code Linting (push) Failing after 22s
CI/CD Pipeline / Build and Test (Debug, clang, ubuntu-latest) (push) Failing after 5m44s
CI/CD Pipeline / Build and Test (Debug, gcc, ubuntu-latest) (push) Failing after 5m33s
CI/CD Pipeline / Build and Test (Release, clang, ubuntu-20.04) (push) Failing after 6m12s
CI/CD Pipeline / Build and Test (Release, clang, ubuntu-latest) (push) Failing after 5m13s
CI/CD Pipeline / Build and Test (Release, gcc, ubuntu-20.04) (push) Failing after 5m30s
CI/CD Pipeline / Build and Test (Release, gcc, ubuntu-latest) (push) Failing after 5m33s
CI/CD Pipeline / Docker Build Test (push) Failing after 13s
CI/CD Pipeline / Performance Benchmarks (push) Has been skipped
CI/CD Pipeline / Build Documentation (push) Successful in 31s
CI/CD Pipeline / Create Release Package (push) Has been skipped
Some checks failed
CI/CD Pipeline / Code Linting (push) Failing after 22s
CI/CD Pipeline / Build and Test (Debug, clang, ubuntu-latest) (push) Failing after 5m44s
CI/CD Pipeline / Build and Test (Debug, gcc, ubuntu-latest) (push) Failing after 5m33s
CI/CD Pipeline / Build and Test (Release, clang, ubuntu-20.04) (push) Failing after 6m12s
CI/CD Pipeline / Build and Test (Release, clang, ubuntu-latest) (push) Failing after 5m13s
CI/CD Pipeline / Build and Test (Release, gcc, ubuntu-20.04) (push) Failing after 5m30s
CI/CD Pipeline / Build and Test (Release, gcc, ubuntu-latest) (push) Failing after 5m33s
CI/CD Pipeline / Docker Build Test (push) Failing after 13s
CI/CD Pipeline / Performance Benchmarks (push) Has been skipped
CI/CD Pipeline / Build Documentation (push) Successful in 31s
CI/CD Pipeline / Create Release Package (push) Has been skipped
This commit is contained in:
22
examples/CMakeLists.txt
Normal file
22
examples/CMakeLists.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
# Examples CMakeLists.txt
|
||||
|
||||
# Basic usage example
|
||||
add_executable(basic_usage basic_usage.cpp)
|
||||
target_link_libraries(basic_usage PRIVATE svm_classifier)
|
||||
target_include_directories(basic_usage PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
||||
target_compile_features(basic_usage PRIVATE cxx_std_17)
|
||||
|
||||
# Advanced usage examples (can be added later)
|
||||
# add_executable(multiclass_example multiclass_example.cpp)
|
||||
# target_link_libraries(multiclass_example PRIVATE svm_classifier)
|
||||
|
||||
# add_executable(hyperparameter_tuning hyperparameter_tuning.cpp)
|
||||
# target_link_libraries(hyperparameter_tuning PRIVATE svm_classifier)
|
||||
|
||||
# add_executable(cross_validation_example cross_validation_example.cpp)
|
||||
# target_link_libraries(cross_validation_example PRIVATE svm_classifier)
|
||||
|
||||
# Installation of examples (optional)
|
||||
install(TARGETS basic_usage
|
||||
RUNTIME DESTINATION bin/examples
|
||||
)
|
Reference in New Issue
Block a user