2015-07-28 02:25:33 +00:00
|
|
|
list(APPEND PY_SOURCES
|
2015-08-31 04:06:22 +00:00
|
|
|
hecl/__init__.py
|
|
|
|
hecl/Nodegrid.py
|
2015-09-16 02:31:17 +00:00
|
|
|
hecl/Patching.py
|
2015-08-31 04:06:22 +00:00
|
|
|
hecl/hmdl/__init__.py
|
|
|
|
hecl/hmdl/HMDLMesh.py
|
|
|
|
hecl/hmdl/HMDLShader.py
|
|
|
|
hecl/sact/__init__.py
|
|
|
|
hecl/sact/SACTAction.py
|
2015-09-07 04:04:49 +00:00
|
|
|
hecl/sact/SACTSubtype.py
|
2015-10-24 01:21:58 +00:00
|
|
|
hecl/srea/__init__.py
|
2015-10-25 00:35:19 +00:00
|
|
|
hecl/swld/__init__.py
|
2019-10-01 07:23:35 +00:00
|
|
|
hecl/armature.py
|
2015-10-25 00:35:19 +00:00
|
|
|
hecl/mapa.py
|
2017-01-14 04:15:43 +00:00
|
|
|
hecl/mapu.py
|
2018-02-24 06:15:12 +00:00
|
|
|
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
|
|
|
|
2015-09-02 02:31:33 +00:00
|
|
|
add_custom_command(OUTPUT hecl.zip DEPENDS ${PY_SOURCES}
|
2021-02-26 23:19:16 +00:00
|
|
|
COMMAND python3 ARGS zip_package.py ${CMAKE_CURRENT_BINARY_DIR}/hecl.zip
|
2015-09-02 02:31:33 +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
|
2015-08-13 07:30:23 +00:00
|
|
|
hecl_blendershell.py
|
2017-12-29 07:56:31 +00:00
|
|
|
hecl_blendershell.cpp
|
2015-09-02 02:31:33 +00:00
|
|
|
zip_package.py
|
|
|
|
hecl.zip
|
2017-12-29 07:56:31 +00:00
|
|
|
hecl_addon.cpp
|
2015-07-28 02:25:33 +00:00
|
|
|
${PY_SOURCES})
|