CPPPATH 값을 무시 보인다 -I 옵션 :SCons는 내가 ParseFlags 통해 CPPPATH 변수를 설정
clang++ -o ABC_Exception.o -c ABC_Exception.cpp
그리고는 ../utl
에 포함 파일을 찾는데 실패./ABC_Exception.hpp:4:10: fatal error: 'Exception.hpp' file not found
CPPPATH 값을 무시 보인다 -I 옵션 :SCons는 내가 ParseFlags 통해 CPPPATH 변수를 설정
clang++ -o ABC_Exception.o -c ABC_Exception.cpp
그리고는 ../utl
에 포함 파일을 찾는데 실패./ABC_Exception.hpp:4:10: fatal error: 'Exception.hpp' file not found
ParseFlags는 SCons documentation에서 설명한대로 환경 변수를 추가 MergeFlags 와야한다.
ParseFlags returns a dictionary containing the options distributed into their respective construction variables. Normally, this dictionary would be passed to MergeFlags to merge the options into a construction environment, but the dictionary can be edited if desired to provide additional functionality. (Note that if the flags are not going to be edited, calling MergeFlags with the options directly will avoid an additional step.)
예제에서 ParseFlags에 전달 된 문자열로 MergeFlags를 간단하게 호출 할 수 있습니다.