CMake/Tests/CxxSubdirC/CMakeLists.txt

5 lines
142 B
CMake

cmake_minimum_required(VERSION 3.0)
project(CxxSubdirC CXX)
add_subdirectory(Cdir)
add_executable(CxxSubdirC main.cxx $<TARGET_OBJECTS:Cobj>)