Skip to content
Snippets Groups Projects
Commit 0a96ec11 authored by Oskar Lappi's avatar Oskar Lappi
Browse files

Added flag for building samples

parent fa121f8a
No related branches found
No related tags found
No related merge requests found
......@@ -35,12 +35,15 @@ target_sources(bimap
FILES ${PROJECT_SOURCE_DIR}/include/ojl/bimap.hpp
)
endif()
add_subdirectory(samples)
option(OJL_BIMAP_BUILD_SAMPLES "Build samples" ON)
option(OJL_BIMAP_BUILD_TESTS "Build tests" ON)
option(OJL_BIMAP_DOWNLOAD_DEPS "Download unsatisfied dependencies using FetchContent" ON)
if (OJL_BIMAP_BUILD_SAMPLES)
add_subdirectory(samples)
endif()
if (OJL_BIMAP_BUILD_TESTS)
#TODO: Only checks the initially set compiler? Have to run twice if you change the compiler (maybe this is just how it works, idk)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment