2016-01-03 10:07:30 +00:00
|
|
|
# ***** 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.
|
|
|
|
#
|
|
|
|
# The Original Code is Copyright (C) 2016, Blender Foundation
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s): Blender Foundation,
|
|
|
|
# Sergey Sharybin
|
|
|
|
#
|
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
|
|
|
|
|
|
|
set(INC
|
2016-01-04 11:47:36 +00:00
|
|
|
src
|
|
|
|
src/gflags
|
2016-01-03 10:07:30 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(INC_SYS
|
|
|
|
)
|
|
|
|
|
|
|
|
set(SRC
|
2016-01-04 11:47:36 +00:00
|
|
|
src/gflags.cc
|
|
|
|
src/gflags_completions.cc
|
|
|
|
src/gflags_reporting.cc
|
2016-01-03 10:07:30 +00:00
|
|
|
|
2016-01-04 11:47:36 +00:00
|
|
|
src/config.h
|
|
|
|
src/gflags/gflags_completions.h
|
|
|
|
src/gflags/gflags_declare.h
|
|
|
|
src/gflags/gflags_gflags.h
|
|
|
|
src/gflags/gflags.h
|
|
|
|
src/mutex.h
|
|
|
|
src/util.h
|
2016-01-03 10:07:30 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
list(APPEND SRC
|
2016-01-04 11:47:36 +00:00
|
|
|
src/windows_port.cc
|
|
|
|
src/windows_port.h
|
2016-01-03 10:07:30 +00:00
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2016-01-04 11:47:36 +00:00
|
|
|
add_definitions(${GFLAGS_DEFINES})
|
|
|
|
|
2016-01-03 10:07:30 +00:00
|
|
|
blender_add_lib(extern_gflags "${SRC}" "${INC}" "${INC_SYS}")
|