1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-29 10:58:06 +00:00
bddisasm/isagenerator/CMakeLists.txt
Ionel-Cristinel ANICHITEI dbbc8b82af cmake: Space between if/else/elseif and condition
It just looks better IMO
2021-03-30 12:36:35 +03:00

15 lines
385 B
CMake

cmake_minimum_required(VERSION 3.12)
project(isagenerator)
include(FindPython3)
find_package(Python3 COMPONENTS Interpreter)
if (Python3_FOUND)
add_custom_target(
isagenerator
COMMAND Python3::Interpreter generate_tables.py instructions
WORKING_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}"
COMMENT "Generating instruction tables")
endif (Python3_FOUND)