mirror of
https://github.com/bitdefender/bddisasm.git
synced 2024-11-17 21:18:27 +00:00
15 lines
389 B
CMake
15 lines
389 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(isagenerator)
|
|
|
|
include(FindPython3)
|
|
|
|
find_package(Python3 COMPONENTS Interpreter)
|
|
if (Python3_FOUND)
|
|
add_custom_target(
|
|
isagenerator_x86
|
|
COMMAND Python3::Interpreter generate_tables.py instructions
|
|
WORKING_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}"
|
|
COMMENT "Generating instruction tables")
|
|
endif (Python3_FOUND)
|