cmake_minimum_required(VERSION 3.16)
project(asashin_cpp_example LANGUAGES CXX)
add_executable(asashin_cpp_example main.cpp)
target_compile_features(asashin_cpp_example PRIVATE cxx_std_17)
set_target_properties(asashin_cpp_example PROPERTIES CXX_EXTENSIONS OFF)
if(MSVC)
    target_compile_options(asashin_cpp_example PRIVATE /W4 /utf-8)
else()
    target_compile_options(asashin_cpp_example PRIVATE -Wall -Wextra -Wpedantic)
endif()
install(TARGETS asashin_cpp_example RUNTIME DESTINATION bin)
