Massively reduce Windows build size (~90% reduction in size)
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2d4d3d8856
commit
61d89bd21b
|
@ -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.
Loading…
Reference in New Issue