mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 17:35:45 +02:00
adds cmake support for starfield subdirectory
This commit is contained in:
parent
baa0a6de12
commit
0733f06143
2 changed files with 12 additions and 0 deletions
|
@ -40,6 +40,9 @@ configure_file(InterfaceConfig.h.in ${PROJECT_BINARY_DIR}/includes/InterfaceConf
|
||||||
# grab the implementation and header files from src dir
|
# grab the implementation and header files from src dir
|
||||||
file(GLOB INTERFACE_SRCS src/*.mm src/*.cpp src/*.h)
|
file(GLOB INTERFACE_SRCS src/*.mm src/*.cpp src/*.h)
|
||||||
|
|
||||||
|
# project subdirectories
|
||||||
|
add_subdirectory(src/starfield)
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
# set how the icon shows up in the Info.plist file
|
# set how the icon shows up in the Info.plist file
|
||||||
SET(MACOSX_BUNDLE_ICON_FILE interface.icns)
|
SET(MACOSX_BUNDLE_ICON_FILE interface.icns)
|
||||||
|
|
9
interface/src/starfield/CMakeLists.txt
Normal file
9
interface/src/starfield/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
project(starfield)
|
||||||
|
|
||||||
|
# Only headers (that are facaded by the Stars.cpp file) here -
|
||||||
|
# hence declared as custom target.
|
||||||
|
|
||||||
|
file(GLOB_RECURSE STARFIELD_SRCS *.h)
|
||||||
|
add_custom_target("starfield" SOURCES ${STARFIELD_SRCS})
|
||||||
|
|
Loading…
Reference in a new issue