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

This commit is contained in:
2019-08-18 10:57:34 +02:00
parent 2d4d3d8856
commit 61d89bd21b
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)