Skip to content

Commit dc08e73

Browse files
committed
cmake: Update CMakeLists for seed
1 parent dde7b66 commit dc08e73

1 file changed

Lines changed: 5 additions & 24 deletions

File tree

seed/service/CMakeLists.txt

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,25 @@
11
cmake_minimum_required(VERSION 2.8.9)
2-
3-
# IncludeOS install location
42
if (NOT DEFINED ENV{INCLUDEOS_PREFIX})
53
set(ENV{INCLUDEOS_PREFIX} /usr/local)
64
endif()
7-
8-
# Use toolchain (if needed)
95
include($ENV{INCLUDEOS_PREFIX}/includeos/pre.service.cmake)
10-
11-
12-
# Name of your project
13-
project (seed)
6+
project (service)
147

158
# Human-readable name of your service
169
set(SERVICE_NAME "IncludeOS seed")
1710

1811
# Name of your service binary
1912
set(BINARY "seed")
2013

21-
# Maximum memory can be hard-coded into the binary
22-
set(MAX_MEM 128)
23-
2414
# Source files to be linked with OS library parts to form bootable image
2515
set(SOURCES
2616
service.cpp # ...add more here
2717
)
2818

29-
#
30-
# Service CMake options
31-
# (uncomment to enable)
32-
#
33-
34-
# MISC:
35-
3619
# To add your own include paths:
3720
# set(LOCAL_INCLUDES ".")
3821

39-
# Adding memdisk (expects my.disk to exist in current dir):
40-
# set(MEMDISK ${CMAKE_SOURCE_DIR}/my.disk)
41-
4222
# DRIVERS / PLUGINS:
43-
4423
set(DRIVERS
4524
# virtionet # Virtio networking
4625
# virtioblock # Virtio block device
@@ -52,12 +31,14 @@ set(PLUGINS
5231
# ...others
5332
)
5433

55-
# THIRD PARTY LIBRARIES:
56-
34+
# STATIC LIBRARIES:
5735
set(LIBRARIES
5836
# path to full library
5937
)
6038

6139

6240
# include service build script
6341
include($ENV{INCLUDEOS_PREFIX}/includeos/post.service.cmake)
42+
43+
# Create in-memory filesystem from folder
44+
#diskbuilder(my_folder)

0 commit comments

Comments
 (0)