mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-27 04:09:36 +03:00
Storing it in the makefile means that the policy does not trigger when include and export are in differing directories.
8 lines
110 B
CMake
8 lines
110 B
CMake
|
|
enable_language(CXX)
|
|
|
|
add_library(foo SHARED empty.cpp)
|
|
|
|
add_subdirectory(subdir1)
|
|
add_subdirectory(subdir2)
|