patch [#28947] Patches for #28943 (Support for XDG Base Directory Specification)
[blender.git] / source / blender / blenlib / CMakeLists.txt
index 8964d02..5d54ffb 100644 (file)
@@ -1,4 +1,3 @@
-# $Id$
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
 # This program is free software; you can redistribute it and/or
 
 set(INC 
        .
-       ../makesdna
        ../blenkernel
        ../blenloader
        ../gpu
+       ../makesdna
        ../../../intern/ghost
        ../../../intern/guardedalloc
 )
@@ -52,6 +51,7 @@ set(SRC
        intern/DLRB_tree.c
        intern/boxpack2d.c
        intern/bpath.c
+       intern/callbacks.c
        intern/cpu.c
        intern/dynlib.c
        intern/edgehash.c
@@ -79,6 +79,7 @@ set(SRC
        intern/scanfill.c
        intern/storage.c
        intern/string.c
+       intern/string_utf8.c
        intern/threads.c
        intern/time.c
        intern/uvproject.c
@@ -97,6 +98,7 @@ set(SRC
        BLI_edgehash.h
        BLI_editVert.h
        BLI_fileops.h
+       BLI_fileops_types.h
        BLI_fnmatch.h
        BLI_ghash.h
        BLI_graph.h
@@ -123,9 +125,8 @@ set(SRC
        BLI_rand.h
        BLI_rect.h
        BLI_scanfill.h
-       BLI_storage.h
-       BLI_storage_types.h
        BLI_string.h
+       BLI_string_utf8.h
        BLI_threads.h
        BLI_utildefines.h
        BLI_uvproject.h
@@ -137,7 +138,9 @@ set(SRC
 )
 
 if(WITH_BINRELOC)
-       list(APPEND INC_SYS "${BINRELOC_INCLUDE_DIRS}")
+       list(APPEND INC_SYS
+               ${BINRELOC_INCLUDE_DIRS}
+       )
        add_definitions(-DWITH_BINRELOC)
 endif()
 
@@ -145,4 +148,8 @@ if(WITH_OPENMP)
        add_definitions(-DPARALLEL=1)
 endif()
 
+if(WITH_XDG_USER_DIRS)
+       add_definitions(-DWITH_XDG_USER_DIRS)
+endif()
+
 blender_add_lib(bf_blenlib "${SRC}" "${INC}" "${INC_SYS}")