mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-08 04:20:14 -05:00
Modularize the newhorizons and volume classes
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
set(HEADER_FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/rendering/renderablevolume.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/rendering/renderablevolumegl.h
|
||||
)
|
||||
source_group("Header Files" FILES ${HEADER_FILES})
|
||||
|
||||
set(SOURCE_FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/rendering/renderablevolume.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/rendering/renderablevolumegl.cpp
|
||||
)
|
||||
source_group("Source Files" FILES ${SOURCE_FILES})
|
||||
|
||||
set(MODULE_CLASS_FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/volumemodule.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/volumemodule.cpp
|
||||
)
|
||||
|
||||
include_directories(${OPENSPACE_BASE_DIR}/include ${OPENSPACE_BASE_DIR})
|
||||
|
||||
add_library(openspace-module-volume ${HEADER_FILES} ${SOURCE_FILES} ${MODULE_CLASS_FILES})
|
||||
Reference in New Issue
Block a user