cmake_minimum_required(VERSION 2.8.9)

if (NOT DEFINED ENV{INCLUDEOS_PREFIX})
  set(ENV{INCLUDEOS_PREFIX} /usr/local)
endif()

set(CMAKE_TOOLCHAIN_FILE $ENV{INCLUDEOS_PREFIX}/includeos/i686-elf-toolchain.cmake)

project (test_vfs)

set(SERVICE_NAME "VFS test")
set(BINARY       "test_vfs")
set(MAX_MEM 128)
set(SOURCES
  service.cpp
  )

set(DRIVERS virtioblk)

set(MEMDISK memdisk.disk)

include($ENV{INCLUDEOS_PREFIX}/includeos/service.cmake)

cmake_minimum_required(VERSION 2.8.9)

if (NOT DEFINED ENV{INCLUDEOS_PREFIX})
  set(ENV{INCLUDEOS_PREFIX} /usr/local)
endif()

set(CMAKE_TOOLCHAIN_FILE $ENV{INCLUDEOS_PREFIX}/includeos/i686-elf-toolchain.cmake)

project (test_vfs)

set(SERVICE_NAME "VFS test")
set(BINARY       "test_vfs")
set(MAX_MEM 128)
set(SOURCES
  service.cpp
  )

set(DRIVERS virtioblk)

include($ENV{INCLUDEOS_PREFIX}/includeos/service.cmake)

diskbuilder(memdisk yoda.disk)

Update vfs test to use new diskbuilder cmake function
test: Update vfs test to use new diskbuilder cmake function
