cmake_minimum_required(VERSION 3.15) project(nanosm LANGUAGES CXX ) list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") include(Policies) include(ProjectFuncs) include(CompilerFlags) add_executable(nanosm src/main.cpp # glue code src/EventLoop.cpp src/Timer.cpp src/WordExp.cpp src/Process.cpp ) nanosm_target(nanosm) # todo: cmake install sex