cmake_minimum_required(VERSION 3.18) project(dml-test) set(CMAKE_CXX_STANDARD 20) include_directories("../../DML/include/") set(SOURCES main.cpp) add_executable(dml-test ${SOURCES}) target_link_libraries(dml-test libdml.a ${CMAKE_DL_LIBS}) install(TARGETS dml-test DESTINATION ${CMAKE_INSTALL_PREFIX})