Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
추가된 기능
컴파일러 옵션을 설정할 수 있는 기능을 추가하고, BOJ 언어 정보를 참고하여 c++, c, java 의 기본 컴파일러 옵션을 아래와 같이 지정한다.
기본 컴파일러 옵션(최적화 등)은 덮어씌울 수 있으며, 기본 컴파일러 인자(출력 바이너리 등)은 덮어씌울 수 없다.
테스트 방법
compile_options 인자를 바꾸어가며 결과가 달라지는지 테스트한다.
c++ 의 O2 옵션을 주거나 주지 않았을 때 큰 차이가 나는 것을 알 수 있다.
관련 링크
https://help.acmicpc.net/language/info
https://wafflestudio.slack.com/archives/C07DDPK0TD4/p1723218224088249