Skip to content

Commit

Permalink
include typed file for mypy in builds
Browse files Browse the repository at this point in the history
  • Loading branch information
psifertex committed Jun 8, 2023
1 parent 2fab2a6 commit 30784c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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})
Expand Down

0 comments on commit 30784c7

Please sign in to comment.