Commit 66532f46 authored by SIMONIN Matthieu's avatar SIMONIN Matthieu
Browse files

Update CMake

make packer
make config-host.h (a bit suboptimal for now)
parent f0134171
......@@ -24,10 +24,16 @@ find_package(SimGrid REQUIRED)
include_directories("${SimGrid_INCLUDE_DIR}" "${FAKEVM_INCLUDE_DIR}" "${VSG_INCLUDE_DIR}" SYSTEM)
# To build fake-vm/qemu implementation we need to generate the config-host.h header
add_custom_target(config-host.h COMMAND ./configure --target-list=x86_64-softmmu && make -j config-host.h WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/qemu)
# fake-vm client lib (rust implementation)
# installed in /opt/fake-vm
# compiled in RELEASE mode (I've got the power !)
add_custom_target(fake-vm ALL COMMAND make PREFIX=/opt/fake-vm RELEASE=0 install WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/fake-vm)
add_dependencies(fake-vm config-host.h)
# build the qemu base image
add_custom_target(packer COMMAND packer build debian-10.3.0-x86_64.json WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/packer)
# vsg lib (actor side)
add_library(vsg STATIC src/vsg/vsg.c src/vsg/log.c)
Subproject commit 9cd3c18d7dbe1ec25fb969e8eb11ad1b07b79648
Subproject commit 8d855a45b4ea6eeca4e51c1bb5ff3cc9ff5b2b2b
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment