add GPL header to treehash.c and add missing includes to cmake.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
|
||||
# add_subdirectory(atomic) # header only
|
||||
add_subdirectory(string)
|
||||
add_subdirectory(ghost)
|
||||
add_subdirectory(guardedalloc)
|
||||
|
@@ -22,6 +22,7 @@ set(SRC_HEADERS
|
||||
kernel.h
|
||||
kernel_accumulate.h
|
||||
kernel_bvh.h
|
||||
kernel_bvh_subsurface.h
|
||||
kernel_bvh_traversal.h
|
||||
kernel_camera.h
|
||||
kernel_compat_cpu.h
|
||||
|
@@ -36,6 +36,9 @@ set(SRC
|
||||
./intern/mallocn.c
|
||||
|
||||
MEM_guardedalloc.h
|
||||
|
||||
# include here since its a header-only
|
||||
../atomic/atomic_ops.h
|
||||
)
|
||||
|
||||
if(WIN32 AND NOT UNIX)
|
||||
|
@@ -1,3 +1,33 @@
|
||||
/*
|
||||
* ***** BEGIN GPL LICENSE BLOCK *****
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*
|
||||
* Contributor(s): Blender Foundation 2013
|
||||
*
|
||||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
/** \file treehash.c
|
||||
* \ingroup bke
|
||||
*
|
||||
* Tree hash for the outliner space.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "BKE_treehash.h"
|
||||
|
||||
#include "BLI_ghash.h"
|
||||
|
Reference in New Issue
Block a user