2013-08-20 18:03:21 +00:00
|
|
|
# This program source code file is part of KICAD, a free EDA CAD application.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2013 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
|
2015-12-03 15:59:02 +00:00
|
|
|
# Copyright (C) 2013-2015 Kicad Developers, see AUTHORS.txt for contributors.
|
2013-08-20 18:03:21 +00:00
|
|
|
#
|
|
|
|
# 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, you may find one here:
|
|
|
|
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
# or you may search the http://www.gnu.org website for the version 2 license,
|
|
|
|
# or you may write to the Free Software Foundation, Inc.,
|
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
|
2013-09-21 07:30:23 +00:00
|
|
|
# These are additions to any inherited from pcbnew dir:
|
2015-12-21 20:30:33 +00:00
|
|
|
include_directories( . )
|
2013-09-21 07:30:23 +00:00
|
|
|
|
2016-01-28 17:30:55 +00:00
|
|
|
include_directories( ${CURL_INCLUDE_DIRS} )
|
|
|
|
|
2013-08-20 18:03:21 +00:00
|
|
|
set( GITHUB_PLUGIN_SRCS
|
2016-01-03 20:33:09 +00:00
|
|
|
github_plugin.cpp
|
2015-12-21 20:30:33 +00:00
|
|
|
github_getliblist.cpp
|
|
|
|
html_link_parser.cpp
|
2013-08-20 18:03:21 +00:00
|
|
|
)
|
|
|
|
|
2014-04-24 05:44:27 +00:00
|
|
|
add_library( github_plugin STATIC ${GITHUB_PLUGIN_SRCS} )
|
2013-09-21 07:30:23 +00:00
|
|
|
|
|
|
|
target_link_libraries( github_plugin
|
2015-12-21 20:30:33 +00:00
|
|
|
common
|
2013-09-21 07:30:23 +00:00
|
|
|
)
|
|
|
|
|
2013-10-07 19:49:44 +00:00
|
|
|
if( MINGW )
|
|
|
|
target_link_libraries( github_plugin
|
|
|
|
${wxWidgets_LIBRARIES}
|
|
|
|
ws2_32
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|