15 lines
434 B
CMake
15 lines
434 B
CMake
#---Adding examples subdirectories explicitly
|
|
# and a custom target to for building all basic examples -------------
|
|
cmake_minimum_required(VERSION 3.8...3.18)
|
|
if(${CMAKE_VERSION} VERSION_LESS 3.12)
|
|
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
|
|
endif()
|
|
|
|
add_subdirectory(B1)
|
|
add_subdirectory(B2)
|
|
add_subdirectory(B3)
|
|
add_subdirectory(B4)
|
|
add_subdirectory(B5)
|
|
|
|
add_custom_target(basic DEPENDS B1 B2 B3 B4 B5)
|