You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
183 B
CMake

add_custom_target(mbr.bin)
add_custom_command(
TARGET mbr.bin
COMMAND /usr/bin/nasm
ARGS -f bin -o ${CMAKE_CURRENT_BINARY_DIR}/mbr.bin ${CMAKE_CURRENT_SOURCE_DIR}/mbr.s
)