cmake_minimum_required(VERSION 3.0) project(CxxSubdirC CXX) add_subdirectory(Cdir) add_executable(CxxSubdirC main.cxx $)