1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-22 07:28:07 +00:00
bddisasm/isagenerator/CMakeLists.txt

15 lines
389 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.16)
2021-03-30 09:33:07 +00:00
project(isagenerator)
include(FindPython3)
find_package(Python3 COMPONENTS Interpreter)
if (Python3_FOUND)
2021-03-30 09:33:07 +00:00
add_custom_target(
isagenerator_x86
2021-03-30 09:33:07 +00:00
COMMAND Python3::Interpreter generate_tables.py instructions
WORKING_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}"
COMMENT "Generating instruction tables")
endif (Python3_FOUND)