cmake_minimum_required(VERSION 3.7) project(hermit_tools) include(../cmake/HermitCore-Paths.cmake) add_compile_options(-std=c99) add_executable(proxy proxy.c uhyve.c) target_compile_options(proxy PUBLIC -fopenmp) target_link_libraries(proxy -fopenmp) install(TARGETS proxy DESTINATION bin) install(FILES init.sh DESTINATION tools) # Show include files in IDE file(GLOB_RECURSE TOOLS_INCLUDES "*.h") add_custom_target(tools_includes_ide SOURCES ${TOOLS_INCLUDES})