You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
309 B
14 lines
309 B
cmake_minimum_required (VERSION 2.8.12)
|
|
project(TargetScope NONE)
|
|
|
|
add_subdirectory(Sub)
|
|
|
|
if(TARGET SubLibLocal)
|
|
message(FATAL_ERROR "SubLibLocal visible in top directory")
|
|
endif()
|
|
if(NOT TARGET SubLibGlobal)
|
|
message(FATAL_ERROR "SubLibGlobal not visible in top directory")
|
|
endif()
|
|
|
|
add_subdirectory(Sib)
|