cmake_minimum_required(VERSION 3.5) project (geoworld) file(GLOB sources "src/*.cpp" "src/gwmorphs/*.cpp") file(GLOB includes "include/*.h" "include/gwmorphs/*.h") add_library(geoworld SHARED ${sources} ${includes}) generate_export_header(geoworld) target_link_libraries(geoworld PRIVATE marslib ${Boost_LIBRARIES}) target_include_directories(geoworld PUBLIC include include/gwmorphs/ ../third-party/lodepng)