13 lines
296 B
CMake
13 lines
296 B
CMake
if(POLICY CMP0157)
|
|
cmake_policy(SET CMP0157 NEW)
|
|
endif()
|
|
|
|
enable_language(Swift)
|
|
|
|
add_library(StaticLibrary STATIC L.swift)
|
|
add_library(DynamicLibrary SHARED L.swift)
|
|
add_executable(Executable E.swift)
|
|
|
|
add_dependencies(DynamicLibrary StaticLibrary)
|
|
add_dependencies(Executable DynamicLibrary)
|