Massively reduce Windows build size (~90% reduction in size)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -15,8 +15,8 @@ add_executable(PorygonLangTests
|
|||||||
${TEST_FILES})
|
${TEST_FILES})
|
||||||
|
|
||||||
if (WINDOWS)
|
if (WINDOWS)
|
||||||
target_link_libraries(PorygonLang -static)
|
target_link_libraries(PorygonLang -static -static-libgcc -static-libstdc++)
|
||||||
target_link_libraries(PorygonLangTests -static)
|
target_link_libraries(PorygonLangTests -static -static-libgcc -static-libstdc++)
|
||||||
endif(WINDOWS)
|
endif(WINDOWS)
|
||||||
|
|
||||||
target_compile_definitions(PorygonLangTests PRIVATE TESTS_BUILD)
|
target_compile_definitions(PorygonLangTests PRIVATE TESTS_BUILD)
|
||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user