all repos — mgba @ 361e8e95b4bd7c9ca18dea8c5edcd0d5efcf8a46

mGBA Game Boy Advance Emulator

Python: Make Python bindings depend on library
Jeffrey Pfau jeffrey@endrift.com
Sun, 25 Dec 2016 15:23:53 -0800
commit

361e8e95b4bd7c9ca18dea8c5edcd0d5efcf8a46

parent

91a503397b3d36bc6c06bbec2bd074b74beb56fe

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/python/CMakeLists.txtsrc/platform/python/CMakeLists.txt

@@ -5,6 +5,7 @@

add_custom_command(OUTPUT build/lib/${BINARY_NAME}/__init__.py COMMAND BINDIR=${CMAKE_CURRENT_BINARY_DIR}/.. ${PYTHON} ${CMAKE_CURRENT_BINARY_DIR}/setup.py build --build-base ${CMAKE_CURRENT_BINARY_DIR} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + DEPENDS ${BINARY_NAME} DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/setup.py DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/_builder.py)