unikernels/BENCHMARKING/UNIKERNEL/WebServer/CMakeLists.txt
Gaetan Longree 4411d5800e First commit
2018-05-11 15:51:48 +02:00

43 lines
855 B
CMake

cmake_minimum_required(VERSION 2.8.9)
if (NOT DEFINED ENV{INCLUDEOS_PREFIX})
set(ENV{INCLUDEOS_PREFIX} /usr/local)
endif()
include($ENV{INCLUDEOS_PREFIX}/includeos/pre.service.cmake)
project (WebServer)
# Human-readable name of your service
set(SERVICE_NAME "CETIC Unikernel Web Server")
# Name of your service binary
set(BINARY "WebServer")
# Source files to be linked with OS library parts to form bootable image
set(SOURCES
service.cpp # ...add more here
)
# To add your own include paths:
# set(LOCAL_INCLUDES ".")
# DRIVERS / PLUGINS:
set(DRIVERS
virtionet # Virtio networking
)
set(PLUGINS
autoconf
)
# STATIC LIBRARIES:
set(LIBRARIES
# path to full library
)
# include service build script
include($ENV{INCLUDEOS_PREFIX}/includeos/post.service.cmake)
# Create in-memory filesystem from folder
diskbuilder(disk)