# vectors example add_executable(vec_example vec_example.cpp ) target_compile_options(vec_example PRIVATE $<$: -pedantic -Wall -Wextra -Wcast-qual -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wswitch-enum -Wredundant-decls -Wfloat-equal -Wundef -Wvla -Wconversion -Wstrict-aliasing > $<$:/W4> ) target_compile_features(vec_example PRIVATE cxx_std_17 ) target_include_directories(vec_example PRIVATE ${MM_INCLUDE_DIRS} ) target_link_libraries(vec_example PRIVATE MM::mm ) # matrix example add_executable(matrix_example matrix_example.cpp ) target_compile_options(matrix_example PRIVATE $<$: -pedantic -Wall -Wextra -Wcast-qual -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wswitch-enum -Wredundant-decls -Wfloat-equal -Wundef -Wvla -Wconversion -Wstrict-aliasing > $<$:/W4> ) target_compile_features(matrix_example PRIVATE cxx_std_17 ) target_include_directories(matrix_example PRIVATE ${MM_INCLUDE_DIRS} ) target_link_libraries(matrix_example PRIVATE MM::mm )