星座图优化

This commit is contained in:
2026-08-26 14:38:51 +08:00
parent 6a6a106dda
commit 272d85caac
7 changed files with 118 additions and 59 deletions
+5 -4
View File
@@ -29,9 +29,9 @@ target_include_directories(Aethera_render_2D PUBLIC
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
)
target_compile_features(Aethera_render_2D PUBLIC cxx_std_20)
target_link_libraries(Aethera_render_2D PUBLIC
Aethera_Kernel
blend2d::blend2d)
target_link_libraries(Aethera_render_2D
PUBLIC Aethera_Kernel
PRIVATE blend2d::blend2d)
if (MSVC)
target_compile_options(Aethera_render_2D PRIVATE /utf-8)
endif ()
@@ -42,7 +42,8 @@ install(TARGETS Aethera_render_2D
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(DIRECTORY "${Aethera_render_2D_source_dir}/"
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/render_2D"
FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp" PATTERN "*.ipp")
FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp" PATTERN "*.ipp"
PATTERN "Blend2D_Cache.ipp" EXCLUDE)
if (RENDERIVE_BUILD_TESTS)
set(Aethera_render_2D_test_dir "${CMAKE_CURRENT_LIST_DIR}/tests")
append_glob_source(Aethera_render_2D_test_sources "${Aethera_render_2D_test_dir}")