1 2 3 4 5 6
cmake_minimum_required (VERSION 2.6) project(SubProject) message("${CMAKE_IMPORT_LIBRARY_SUFFIX}") add_library(bar bar.cxx) add_executable(car car.cxx) add_subdirectory(foo)