-
Notifications
You must be signed in to change notification settings - Fork 373
/
CMakeLists.txt
47 lines (35 loc) · 1.05 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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 (service)
# Human-readable name of your service
set(SERVICE_NAME "IncludeOS seed")
# Name of your service binary
set(BINARY "seed")
# 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 driver
# virtioblk # Virtio block device driver
#boot_logger # Enable lots of logging from boot stage
# Use "boot --drivers ." to see other drivers
)
set(PLUGINS
# syslogd # Syslog over UDP
# Use "boot --plugins ." to see other plugins
)
# 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(my_folder)