File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 2.8.9 )
2-
3- # IncludeOS install location
42if (NOT DEFINED ENV{INCLUDEOS_PREFIX})
53 set (ENV{INCLUDEOS_PREFIX} /usr/local)
64endif ()
7-
8- # Use toolchain (if needed)
95include ($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
169set (SERVICE_NAME "IncludeOS seed" )
1710
1811# Name of your service binary
1912set (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
2515set (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-
4423set (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:
5735set (LIBRARIES
5836 # path to full library
5937 )
6038
6139
6240# include service build script
6341include ($ENV{INCLUDEOS_PREFIX} /includeos/post.service.cmake )
42+
43+ # Create in-memory filesystem from folder
44+ #diskbuilder(my_folder)
You can’t perform that action at this time.
0 commit comments