metaforce/hecl/blender/CMakeLists.txt

32 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
hecl/srea/__init__.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
2015-07-08 04:26:29 +00:00
add_library(HECLBlender
BlenderConnection.cpp
2015-07-28 02:25:33 +00:00
BlenderConnection.hpp
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})