-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Jérémie Dumas <jeremie.dumas@ens-lyon.org>
- Loading branch information
Showing
121 changed files
with
9,561 additions
and
389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
6.17.0 | ||
6.18.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# | ||
# Copyright 2023 Adobe. All rights reserved. | ||
# This file is licensed to you under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. You may obtain a copy | ||
# of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software distributed under | ||
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS | ||
# OF ANY KIND, either express or implied. See the License for the specific language | ||
# governing permissions and limitations under the License. | ||
# | ||
if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") | ||
return() | ||
endif() | ||
|
||
# Xcode 15's new linker will crash. We suggest either using the classical linker, or upgrading to Xcode 15.1. | ||
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 15.0 AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 15.1) | ||
# First let's check if we are using the classical linker | ||
set(is_using_classical_linker FALSE) | ||
foreach(type IN ITEMS EXE SHARED MODULE) | ||
set(suffix_types "none") | ||
if(DEFINED CMAKE_CONFIGURATION_TYPES) | ||
list(APPEND suffix_types ${CMAKE_CONFIGURATION_TYPES}) | ||
endif() | ||
foreach(config IN LISTS suffix_types) | ||
if(config STREQUAL "none") | ||
set(config "") | ||
else() | ||
set(config "_${config}") | ||
endif() | ||
if(NOT DEFINED CMAKE_${type}_LINKER_FLAGS${config}_INIT) | ||
continue() | ||
endif() | ||
if(CMAKE_${type}_LINKER_FLAGS${config}_INIT MATCHES "-Wl,-ld_classic") | ||
set(is_using_classical_linker TRUE) | ||
break() | ||
endif() | ||
endforeach() | ||
endforeach() | ||
|
||
# If not, display an error message | ||
if(NOT is_using_classical_linker) | ||
option(LAGRANGE_IGNORE_XCODE_15_LINKER_ERROR "Turn Xcode 15 linker check from an error into a warning" OFF) | ||
if(LAGRANGE_IGNORE_XCODE_15_LINKER_ERROR) | ||
set(mode WARNING) | ||
set(postfix "") | ||
else() | ||
set(mode FATAL_ERROR) | ||
set(postfix "You can also ignore this error by calling CMake with -DLAGRANGE_IGNORE_XCODE_15_LINKER_ERROR=ON\n") | ||
endif() | ||
message(${mode} | ||
"Xcode 15.0 has a new linker that will cause a crash when linking weak symbols in C++. " | ||
"We suggest either:\n1. Upgrading to Xcode >= 15.1, or\n2. Using the classical linker by deleting " | ||
"your <build>/CMakeCache.txt and re-running CMake configure with \n" | ||
" LDFLAGS=\"$LDFLAGS -Wl,-ld_classic\" cmake ..\n" | ||
${postfix} | ||
) | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# Copyright 2023 Adobe. All rights reserved. | ||
# This file is licensed to you under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. You may obtain a copy | ||
# of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software distributed under | ||
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS | ||
# OF ANY KIND, either express or implied. See the License for the specific language | ||
# governing permissions and limitations under the License. | ||
# | ||
if(TARGET StackWalker::StackWalker) | ||
return() | ||
endif() | ||
|
||
message(STATUS "Third-party (external): creating target 'StackWalker::StackWalker'") | ||
|
||
option(StackWalker_DISABLE_TESTS "Disable tests" ON) | ||
|
||
include(CPM) | ||
CPMAddPackage( | ||
NAME StackWalker | ||
GITHUB_REPOSITORY JochenKalmbach/StackWalker | ||
GIT_TAG 5b0df7a4db8896f6b6dc45d36e383c52577e3c6b | ||
DOWNLOAD_ONLY YES | ||
) | ||
|
||
add_library(StackWalker STATIC ${StackWalker_SOURCE_DIR}/Main/StackWalker/StackWalker.cpp) | ||
add_library(StackWalker::StackWalker ALIAS StackWalker) | ||
|
||
target_include_directories(StackWalker PUBLIC ${StackWalker_SOURCE_DIR}/Main/StackWalker) | ||
|
||
set_target_properties(StackWalker PROPERTIES FOLDER third_party) |
Oops, something went wrong.