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-05-31 05:15:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-31 05:15:44 +0400
commit09da9d43931a09e3786343e724a3de7217285d0d (patch)
tree4c48fbd4404687fd04254d071d535499a1ae4058 /source/blender/ikplugin/CMakeLists.txt
parentdcd55cef86270f076cf827c5ae7a6cc76db4f9ad (diff)
cmake maintenance
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python). also only build wm_apple.c on apple+carbon configuration.
Diffstat (limited to 'source/blender/ikplugin/CMakeLists.txt')
-rw-r--r--source/blender/ikplugin/CMakeLists.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/source/blender/ikplugin/CMakeLists.txt b/source/blender/ikplugin/CMakeLists.txt
index 47c773756a9..da5c2f69635 100644
--- a/source/blender/ikplugin/CMakeLists.txt
+++ b/source/blender/ikplugin/CMakeLists.txt
@@ -33,6 +33,10 @@ set(INC
../../../intern/iksolver/extern
)
+set(INC_SYS
+
+)
+
set(SRC
intern/ikplugin_api.c
intern/iksolver_plugin.c
@@ -45,11 +49,13 @@ set(SRC
if(WITH_IK_ITASC)
add_definitions(-DWITH_IK_ITASC)
- list(APPEND INC ../../../extern/Eigen2)
- list(APPEND INC ../../../intern/itasc)
+ list(APPEND INC
+ ../../../extern/Eigen2
+ ../../../intern/itasc
+ )
list(APPEND SRC
- ./intern/itasc_plugin.cpp
+ intern/itasc_plugin.cpp
)
endif()
-blender_add_lib(bf_ikplugin "${SRC}" "${INC}")
+blender_add_lib(bf_ikplugin "${SRC}" "${INC}" "${INC_SYS}")