-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#21085) msdfgen: add 1.11 + package_type + bump deps
* add package_type * bump freetype & libpng * avoid patch in 1.10 * add msdfgen/1.11 * inject BUILD_SHARED_LIBS as cache_variables * simplify patching strategy of previous versions * restore find_package module freetype * remove pdb files * Revert "restore find_package module freetype" This reverts commit d678393. * workaround for conan-io/conan#13560 * bump freetype * less verbose package_info() * Update recipes/msdfgen/all/conanfile.py Co-authored-by: Matthieu Darbois <[email protected]> --------- Co-authored-by: Rubén Rincón Blanco <[email protected]> Co-authored-by: Matthieu Darbois <[email protected]>
- Loading branch information
1 parent
f707cc7
commit a8cbe2a
Showing
5 changed files
with
64 additions
and
71 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 was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
recipes/msdfgen/all/patches/1.10-0001-honor-msvc-runtime.patch
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,26 @@ | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -79,7 +79,6 @@ file(GLOB_RECURSE MSDFGEN_EXT_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "ext/ | ||
add_library(msdfgen-core "${CMAKE_CURRENT_SOURCE_DIR}/msdfgen.h" ${MSDFGEN_CORE_HEADERS} ${MSDFGEN_CORE_SOURCES}) | ||
add_library(msdfgen::msdfgen-core ALIAS msdfgen-core) | ||
set_target_properties(msdfgen-core PROPERTIES PUBLIC_HEADER "${MSDFGEN_CORE_HEADERS}") | ||
-set_property(TARGET msdfgen-core PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>") | ||
target_compile_definitions(msdfgen-core PUBLIC | ||
MSDFGEN_VERSION=${MSDFGEN_VERSION} | ||
MSDFGEN_VERSION_MAJOR=${MSDFGEN_VERSION_MAJOR} | ||
@@ -127,7 +126,6 @@ if(NOT MSDFGEN_CORE_ONLY) | ||
add_library(msdfgen-ext "${CMAKE_CURRENT_SOURCE_DIR}/msdfgen-ext.h" ${MSDFGEN_EXT_HEADERS} ${MSDFGEN_EXT_SOURCES}) | ||
add_library(msdfgen::msdfgen-ext ALIAS msdfgen-ext) | ||
set_target_properties(msdfgen-ext PROPERTIES PUBLIC_HEADER "${MSDFGEN_EXT_HEADERS}") | ||
- set_property(TARGET msdfgen-ext PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>") | ||
target_compile_definitions(msdfgen-ext PUBLIC MSDFGEN_USE_LIBPNG) | ||
target_link_libraries(msdfgen-ext PRIVATE msdfgen::msdfgen-core Freetype::Freetype tinyxml2::tinyxml2 PNG::PNG) | ||
target_include_directories(msdfgen-ext | ||
@@ -171,7 +169,6 @@ if(MSDFGEN_BUILD_STANDALONE) | ||
add_executable(msdfgen ${MSDFGEN_STANDALONE_SOURCES}) | ||
target_compile_definitions(msdfgen PUBLIC MSDFGEN_STANDALONE) | ||
target_compile_definitions(msdfgen PRIVATE MSDFGEN_VERSION_UNDERLINE=${MSDFGEN_VERSION_UNDERLINE}) | ||
- set_property(TARGET msdfgen PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>") | ||
target_link_libraries(msdfgen PRIVATE msdfgen::msdfgen) | ||
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT msdfgen) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
versions: | ||
"1.11": | ||
folder: all | ||
"1.10": | ||
folder: all | ||
"1.9.1": | ||
|