celestia/src/celscript/lua/CMakeLists.txt

34 lines
576 B
CMake

set(CELX_SOURCES
celx_category.cpp
celx_category.h
celx_celestia.cpp
celx_celestia.h
celx.cpp
celx_frame.cpp
celx_frame.h
celx.h
celx_internal.h
celx_misc.cpp
celx_misc.h
celx_object.cpp
celx_object.h
celx_observer.cpp
celx_observer.h
celx_phase.cpp
celx_phase.h
celx_position.cpp
celx_position.h
celx_rotation.cpp
celx_rotation.h
celx_vector.cpp
celx_vector.h
luascript.cpp
luascript.h
)
if(NOT ENABLE_GLES)
set(CELX_SOURCES ${CELX_SOURCES} celx_gl.cpp celx_gl.h)
endif()
add_library(celluascript OBJECT ${CELX_SOURCES})