2015-07-28 02:25:33 +00:00
|
|
|
list(APPEND PY_SOURCES
|
2021-02-28 20:41:31 +00:00
|
|
|
hecl/__init__.py
|
|
|
|
hecl/Nodegrid.py
|
|
|
|
hecl/Patching.py
|
|
|
|
hecl/hmdl/__init__.py
|
|
|
|
hecl/hmdl/HMDLMesh.py
|
|
|
|
hecl/hmdl/HMDLShader.py
|
|
|
|
hecl/sact/__init__.py
|
|
|
|
hecl/sact/SACTAction.py
|
|
|
|
hecl/sact/SACTSubtype.py
|
|
|
|
hecl/srea/__init__.py
|
|
|
|
hecl/swld/__init__.py
|
|
|
|
hecl/armature.py
|
|
|
|
hecl/mapa.py
|
|
|
|
hecl/mapu.py
|
|
|
|
hecl/frme.py
|
|
|
|
hecl/path.py)
|
2015-07-28 02:25:33 +00:00
|
|
|
|
2017-12-29 07:56:31 +00:00
|
|
|
bintoc(hecl_blendershell.cpp hecl_blendershell.py HECL_BLENDERSHELL)
|
2015-08-04 21:37:12 +00:00
|
|
|
|
2021-04-02 17:04:59 +00:00
|
|
|
find_package(Python COMPONENTS Interpreter REQUIRED)
|
2021-02-28 20:41:31 +00:00
|
|
|
|
2015-09-02 02:31:33 +00:00
|
|
|
add_custom_command(OUTPUT hecl.zip DEPENDS ${PY_SOURCES}
|
2021-04-02 17:04:59 +00:00
|
|
|
COMMAND ${Python_EXECUTABLE} ARGS zip_package.py ${CMAKE_CURRENT_BINARY_DIR}/hecl.zip
|
2021-02-28 20:41:31 +00:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
COMMENT "Generating addon package")
|
2017-12-29 07:56:31 +00:00
|
|
|
bintoc(hecl_addon.cpp "${CMAKE_CURRENT_BINARY_DIR}/hecl.zip" HECL_ADDON)
|
2015-08-31 03:36:24 +00:00
|
|
|
|
2016-09-18 23:46:49 +00:00
|
|
|
add_library(hecl-blender-addon
|
2021-02-28 20:41:31 +00:00
|
|
|
hecl_blendershell.py
|
|
|
|
hecl_blendershell.cpp
|
|
|
|
zip_package.py
|
|
|
|
hecl.zip
|
|
|
|
hecl_addon.cpp
|
|
|
|
${PY_SOURCES})
|