diff options
Diffstat (limited to 'examples/option_example')
| -rw-r--r-- | examples/option_example/CMakeLists.txt | 15 | ||||
| -rw-r--r-- | examples/option_example/example.cc | 14 |
2 files changed, 0 insertions, 29 deletions
diff --git a/examples/option_example/CMakeLists.txt b/examples/option_example/CMakeLists.txt deleted file mode 100644 index a77d4c5..0000000 --- a/examples/option_example/CMakeLists.txt +++ /dev/null @@ -1,15 +0,0 @@ - -cmake_minimum_required(VERSION 3.15...3.31) - -project( - OptionExample - VERSION 1.0 - LANGUAGES CXX) - -find_package(Boost REQUIRED COMPONENTS container) - -add_executable(OptionExample example.cc) - -set_property(TARGET OptionExample PROPERTY CXX_STANDARD 20) -target_include_directories(OptionExample PUBLIC ../../include/) -target_link_libraries(OptionExample PRIVATE Boost::container) diff --git a/examples/option_example/example.cc b/examples/option_example/example.cc deleted file mode 100644 index 0da9d49..0000000 --- a/examples/option_example/example.cc +++ /dev/null @@ -1,14 +0,0 @@ -#include <ocl/crc_hash.hpp> -#include <ocl/print.hpp> -#include <ocl/option.hpp> - -int main(int argc, char** argv) -{ - ocl::option opt{ocl::eval_eq(nullptr, nullptr)}; - opt.expect("is incorrect"); - - ocl::option opt2{ocl::eval_eq(argv, nullptr)}; - opt2.expect("is incorrect"); - - return 0; -} |
