summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2023-06-08 13:29:54 -0400
committerJordan Wiens <jordan@psifertex.com>2023-06-08 13:29:54 -0400
commit30784c736f7ed7cc796573d81021bd3ef10fded3 (patch)
tree38c17785ec45b3b36b6881b1250ed1ecc05eecff /python
parent2fab2a64830643920443b2afefb210f34dcf6bfa (diff)
include typed file for mypy in builds
Diffstat (limited to 'python')
-rw-r--r--python/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 6a295a92..5cbe6b23 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(python-api)
-file(GLOB PYTHON_SOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/*.py)
+file(GLOB PYTHON_SOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/*.py ${PROJECT_SOURCE_DIR}/*.typed)
list(REMOVE_ITEM PYTHON_SOURCES ${PROJECT_SOURCE_DIR}/_binaryninjacore.py)
list(REMOVE_ITEM PYTHON_SOURCES ${PROJECT_SOURCE_DIR}/enums.py)
@@ -15,7 +15,7 @@ add_executable(generator
target_link_libraries(generator binaryninjaapi)
set_target_properties(generator PROPERTIES
- CXX_STANDARD 17
+ CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
BUILD_WITH_INSTALL_RPATH OFF
RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})