Back to project
URL
https://opencores.org/ocsvn/s80186/s80186/trunk
[/ ] [s80186/ ] [trunk/ ] [documentation/ ] [CMakeLists.txt ] - Blame information for rev 2
Details |
Compare with Previous |
View Log
Line No.
Rev
Author
Line
1
2
jamieiles
configure_file(development-guide.asciidoc development-guide.asciidoc)
2
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/instructions.asciidoc
3
COMMAND PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}/../python ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/gen-instructions > ${CMAKE_CURRENT_BINARY_DIR}/instructions.asciidoc
4
DEPENDS Cpu ${CMAKE_CURRENT_SOURCE_DIR}/instructions.templ ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/gen-instructions instructions.yaml)
5
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/development-guide.pdf
6
COMMAND asciidoctor-pdf ${CMAKE_CURRENT_BINARY_DIR}/development-guide.asciidoc -a pdf-style=${CMAKE_CURRENT_SOURCE_DIR}/theme.yml -a toc -o ${CMAKE_CURRENT_BINARY_DIR}/development-guide.pdf --doctype=book
7
DEPENDS development-guide.asciidoc theme.yml ${CMAKE_CURRENT_BINARY_DIR}/instructions.asciidoc)
8
add_custom_target(documentation ALL
9
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/development-guide.pdf)
10
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/development-guide.pdf
11
DESTINATION share/doc/s80x86
12
COMPONENT simulator)
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.