Massively reduce Windows build size (~90% reduction in size)
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2019-08-18 10:57:34 +02:00
parent 2d4d3d8856
commit 61d89bd21b
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
3 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ add_executable(PorygonLangTests
${TEST_FILES})
if (WINDOWS)
target_link_libraries(PorygonLang -static)
target_link_libraries(PorygonLangTests -static)
target_link_libraries(PorygonLang -static -static-libgcc -static-libstdc++)
target_link_libraries(PorygonLangTests -static -static-libgcc -static-libstdc++)
endif(WINDOWS)
target_compile_definitions(PorygonLangTests PRIVATE TESTS_BUILD)