Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-07-13 12:15:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-13 12:15:06 +0400
commitcf485cd9638825ab911d8eb4cf06f02ae189c864 (patch)
tree6413dc9c50ff0a6fac5b60f8c4497329faa63fb3 /source/blender/editors/datafiles
parentb0ffa7fc580c49a2c50377cbe19c76279d303dfb (diff)
Advanced CMake option to build the player without blender: WITH_BLENDER
Diffstat (limited to 'source/blender/editors/datafiles')
-rw-r--r--source/blender/editors/datafiles/CMakeLists.txt82
1 files changed, 45 insertions, 37 deletions
diff --git a/source/blender/editors/datafiles/CMakeLists.txt b/source/blender/editors/datafiles/CMakeLists.txt
index ae86905a91d..080673d6e54 100644
--- a/source/blender/editors/datafiles/CMakeLists.txt
+++ b/source/blender/editors/datafiles/CMakeLists.txt
@@ -27,50 +27,58 @@ set(INC_SYS
)
+# blender and player
set(SRC
Bfont.c
bfont.ttf.c
- bmonofont.ttf.c
- startup.blend.c
- preview.blend.c
)
-if(NOT WITH_HEADLESS)
+if(WITH_BLENDER)
+ # blender only
list(APPEND SRC
- splash.png.c
- blenderbuttons.c
-
- # brushes
- add.png.c
- blob.png.c
- blur.png.c
- clay.png.c
- clone.png.c
- crease.png.c
- darken.png.c
- draw.png.c
- fill.png.c
- flatten.png.c
- grab.png.c
- inflate.png.c
- layer.png.c
- lighten.png.c
- mix.png.c
- multiply.png.c
- nudge.png.c
- pinch.png.c
- prvicons.c
- scrape.png.c
- smear.png.c
- smooth.png.c
- snake_hook.png.c
- soften.png.c
- subtract.png.c
- texdraw.png.c
- thumb.png.c
- twist.png.c
- vertexdraw.png.c
+ startup.blend.c
+ preview.blend.c
+ bmonofont.ttf.c
)
+
+ if(NOT WITH_HEADLESS)
+ # blender UI only
+ list(APPEND SRC
+ splash.png.c
+ blenderbuttons.c
+
+ # brushes
+ add.png.c
+ blob.png.c
+ blur.png.c
+ clay.png.c
+ clone.png.c
+ crease.png.c
+ darken.png.c
+ draw.png.c
+ fill.png.c
+ flatten.png.c
+ grab.png.c
+ inflate.png.c
+ layer.png.c
+ lighten.png.c
+ mix.png.c
+ multiply.png.c
+ nudge.png.c
+ pinch.png.c
+ prvicons.c
+ scrape.png.c
+ smear.png.c
+ smooth.png.c
+ snake_hook.png.c
+ soften.png.c
+ subtract.png.c
+ texdraw.png.c
+ thumb.png.c
+ twist.png.c
+ vertexdraw.png.c
+ )
+ endif()
endif()
blender_add_lib(bf_editor_datafiles "${SRC}" "${INC}" "${INC_SYS}")