2019-12-19 17:20:49 +00:00
|
|
|
#
|
|
|
|
# This program source code file is part of KICAD, a free EDA CAD application.
|
|
|
|
#
|
2020-06-21 08:56:24 -07:00
|
|
|
# Copyright (C) 2007-2020 Kicad Developers, see AUTHORS.txt for contributors.
|
2019-12-19 17:20:49 +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
|
|
|
|
#
|
|
|
|
|
2023-08-02 22:58:32 +01:00
|
|
|
# Disable shared library building for all thirdparty libraries
|
|
|
|
set( BUILD_SHARED_LIBS OFF )
|
|
|
|
|
2025-04-22 15:16:58 -07:00
|
|
|
# Note: The glew folder isn't added here because it is added inside the main CMakeLists.txt
|
|
|
|
|
2023-09-15 16:21:50 +00:00
|
|
|
# If this is not set, then we cannot set things like ARGPARSE_INSTALL to OFF before the
|
|
|
|
# argparse subdirectory is added. Under the new policy, add_option will allow itself to
|
|
|
|
# be overridden by a previously-set variable like we want to do here. Doing it this way
|
|
|
|
# instead of with cmake_policy will apply the change to the third-party CMakeLists files.
|
|
|
|
set( CMAKE_POLICY_DEFAULT_CMP0077 NEW )
|
|
|
|
|
2024-12-30 12:55:19 -08:00
|
|
|
# Avoid spurious warnings on g++
|
|
|
|
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
|
|
|
|
set_source_files_properties(
|
|
|
|
${CMAKE_SOURCE_DIR}/thirdparty/3dxware_sdk/src/navlib_stub.c
|
|
|
|
PROPERTIES COMPILE_FLAGS "-Wno-attributes"
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2022-11-13 11:50:27 -05:00
|
|
|
set( ARGPARSE_INSTALL OFF )
|
2022-10-04 01:53:37 +00:00
|
|
|
add_subdirectory( argparse )
|
2022-10-19 16:25:45 -07:00
|
|
|
add_subdirectory( clipper2 )
|
2020-04-03 23:22:24 +00:00
|
|
|
add_subdirectory( compoundfilereader )
|
2020-06-21 08:56:24 -07:00
|
|
|
add_subdirectory( delaunator )
|
2019-12-19 17:20:49 +00:00
|
|
|
add_subdirectory( dxflib_qcad )
|
2024-07-21 10:49:18 -07:00
|
|
|
add_subdirectory( dynamic_bitset )
|
2023-01-29 13:06:05 -05:00
|
|
|
add_subdirectory( expected )
|
2025-08-29 21:32:15 -04:00
|
|
|
set( FASTFLOAT_INSTALL OFF )
|
|
|
|
add_subdirectory( fast_float )
|
2023-07-30 21:20:04 +00:00
|
|
|
set( FMT_INSTALL OFF )
|
2022-08-03 22:49:41 -04:00
|
|
|
add_subdirectory( fmt )
|
2020-08-17 15:48:20 -07:00
|
|
|
add_subdirectory( gzip-hpp )
|
2020-07-30 20:33:41 +01:00
|
|
|
add_subdirectory( lemon )
|
2019-12-28 18:17:55 +00:00
|
|
|
add_subdirectory( libcontext )
|
2024-07-21 10:49:18 -07:00
|
|
|
add_subdirectory( libpopcnt )
|
2023-06-13 15:13:45 -07:00
|
|
|
add_subdirectory( magic_enum )
|
2019-12-19 17:57:15 +00:00
|
|
|
add_subdirectory( markdown2html )
|
2025-07-22 12:45:18 -07:00
|
|
|
add_subdirectory( nanoflann )
|
2022-05-29 16:48:58 -04:00
|
|
|
add_subdirectory( nanodbc )
|
2019-12-19 17:20:49 +00:00
|
|
|
add_subdirectory( nanosvg )
|
2022-09-27 16:17:24 +03:00
|
|
|
add_subdirectory( rectpack2d )
|
2020-01-07 17:12:59 +00:00
|
|
|
add_subdirectory( rtree )
|
2019-12-19 17:20:49 +00:00
|
|
|
add_subdirectory( tinyspline_lib )
|
2019-12-28 18:17:55 +00:00
|
|
|
add_subdirectory( potrace )
|
2019-12-23 13:05:52 -05:00
|
|
|
add_subdirectory( nlohmann_json )
|
2021-02-17 13:32:09 -08:00
|
|
|
add_subdirectory( picosha2 )
|
2021-03-11 21:59:23 -08:00
|
|
|
add_subdirectory( json_schema_validator )
|
2021-12-30 17:26:51 +00:00
|
|
|
add_subdirectory( pegtl )
|
2021-06-14 14:14:17 +02:00
|
|
|
add_subdirectory( 3dxware_sdk )
|
2025-05-02 23:17:30 +08:00
|
|
|
add_subdirectory( rapidcsv )
|
2021-01-25 22:16:58 +01:00
|
|
|
add_subdirectory( turtle )
|
2022-06-14 17:41:10 -07:00
|
|
|
add_subdirectory( thread-pool )
|