metaforce/hecl/blender/CMakeLists.txt

34 lines
1.0 KiB
CMake
Raw Normal View History

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
hecl/swld/__init__.py
hecl/mapa.py
2017-01-14 04:15:43 +00:00
hecl/mapu.py
hecl/frme.py)
2015-07-28 02:25:33 +00:00
2015-08-13 07:30:23 +00:00
bintoc(hecl_blendershell.c hecl_blendershell.py HECL_BLENDERSHELL)
2015-09-02 02:31:33 +00:00
add_custom_command(OUTPUT hecl.zip DEPENDS ${PY_SOURCES}
COMMAND python ARGS zip_package.py ${CMAKE_CURRENT_BINARY_DIR}/hecl.zip
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Generating addon package")
bintoc(hecl_addon.c "${CMAKE_CURRENT_BINARY_DIR}/hecl.zip" HECL_ADDON)
2015-09-06 20:08:23 +00:00
bintoc(hecl_startup.c hecl_startup.blend HECL_STARTUP)
2015-08-31 03:36:24 +00:00
add_library(hecl-blender-addon
2015-08-13 07:30:23 +00:00
hecl_blendershell.py
hecl_blendershell.c
2015-09-02 02:31:33 +00:00
zip_package.py
hecl.zip
2015-08-31 03:36:24 +00:00
hecl_addon.c
2015-09-06 20:08:23 +00:00
hecl_startup.c
2015-07-28 02:25:33 +00:00
${PY_SOURCES})