1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-30 00:00:15 +01:00
libhermit/tools/CMakeLists.txt
Stefan Lankes 463298c383 add initial draft of uhyve's network interface
- based on https://github.com/Solo5/solo5 and
- Tim's port for HermitCore
2017-09-04 18:20:54 +02:00

20 lines
483 B
CMake

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 uhyve-net.c)
target_compile_options(proxy PUBLIC -pthread)
target_link_libraries(proxy -pthread)
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})