svn merge ^/trunk/blender -r47058:47067
[blender.git] / intern / CMakeLists.txt
index a370118f061a5dc766bfadf535b881e0cbdb2154..71d2ef5e410f45f79533ef017b55353b943d2782 100644 (file)
@@ -1,4 +1,3 @@
-# $Id$
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
 # This program is free software; you can redistribute it and/or
 #
 # ***** END GPL LICENSE BLOCK *****
 
-ADD_SUBDIRECTORY(audaspace)
-ADD_SUBDIRECTORY(string)
-ADD_SUBDIRECTORY(ghost)
-ADD_SUBDIRECTORY(guardedalloc)
-ADD_SUBDIRECTORY(moto)
-ADD_SUBDIRECTORY(container)
-ADD_SUBDIRECTORY(memutil)
-ADD_SUBDIRECTORY(decimation)
-ADD_SUBDIRECTORY(iksolver)
-ADD_SUBDIRECTORY(itasc)
-ADD_SUBDIRECTORY(boolop)
-ADD_SUBDIRECTORY(opennl)
-ADD_SUBDIRECTORY(smoke)
-
-IF(WITH_ELBEEM)
-       ADD_SUBDIRECTORY(elbeem)
-ENDIF(WITH_ELBEEM)
-
-ADD_SUBDIRECTORY(bsp)
+add_subdirectory(string)
+add_subdirectory(ghost)
+add_subdirectory(guardedalloc)
+add_subdirectory(moto)
+add_subdirectory(memutil)
+add_subdirectory(iksolver)
+add_subdirectory(opennl)
+add_subdirectory(mikktspace)
+add_subdirectory(raskter)
+
+if(WITH_AUDASPACE)
+       add_subdirectory(audaspace)
+endif()
+
+if(WITH_MOD_REMESH)
+       add_subdirectory(dualcon)
+endif()
+
+if(WITH_MOD_FLUID)
+       add_subdirectory(elbeem)
+endif()
+
+if(WITH_MOD_SMOKE)
+       add_subdirectory(smoke)
+endif()
+
+if(WITH_MOD_DECIMATE)
+       add_subdirectory(container)
+       add_subdirectory(decimation)
+endif()
+
+if(WITH_MOD_BOOLEAN)
+       add_subdirectory(boolop)
+       add_subdirectory(bsp)
+endif()
+
+if(WITH_IK_ITASC)
+       add_subdirectory(itasc)
+endif()
+
+if(WITH_CYCLES)
+       add_subdirectory(cycles)
+endif()
+
+# only windows needs utf16 converter
+if(WIN32)
+       add_subdirectory(utfconv)
+endif()