Auto-detect wxwigets
Change-Id: I9f9140ed187cd82517481df95c5c98eebffa51a0
This commit is contained in:
Родитель
f4fa01e9a9
Коммит
d5f51b33e1
|
@ -464,6 +464,8 @@ AS_SFX = ${AS_SFX:-.asm}
|
||||||
EXE_SFX = ${EXE_SFX}
|
EXE_SFX = ${EXE_SFX}
|
||||||
VCPROJ_SFX = ${VCPROJ_SFX}
|
VCPROJ_SFX = ${VCPROJ_SFX}
|
||||||
RTCD_OPTIONS = ${RTCD_OPTIONS}
|
RTCD_OPTIONS = ${RTCD_OPTIONS}
|
||||||
|
WX_CXXFLAGS = ${WX_CXXFLAGS}
|
||||||
|
WX_LDFLAGS = ${WX_LDFLAGS}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if enabled rvct; then cat >> $1 << EOF
|
if enabled rvct; then cat >> $1 << EOF
|
||||||
|
|
|
@ -241,6 +241,7 @@ HAVE_LIST="
|
||||||
aom_ports
|
aom_ports
|
||||||
pthread_h
|
pthread_h
|
||||||
unistd_h
|
unistd_h
|
||||||
|
wxwidgets
|
||||||
"
|
"
|
||||||
EXPERIMENT_LIST="
|
EXPERIMENT_LIST="
|
||||||
fp_mb_stats
|
fp_mb_stats
|
||||||
|
@ -648,6 +649,14 @@ EOF
|
||||||
check_header unistd.h # for sysconf(3) and friends.
|
check_header unistd.h # for sysconf(3) and friends.
|
||||||
|
|
||||||
check_header aom/aom_integer.h -I${source_path} && enable_feature aom_ports
|
check_header aom/aom_integer.h -I${source_path} && enable_feature aom_ports
|
||||||
|
enabled analyzer && soft_enable wxwidgets
|
||||||
|
if enabled wxwidgets; then
|
||||||
|
if ! wx-config --version > /dev/null; then
|
||||||
|
die "Couldn't find wx-config"
|
||||||
|
fi
|
||||||
|
WX_CXXFLAGS=$(wx-config --cppflags)
|
||||||
|
WX_LDFLAGS=$(wx-config --libs)
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
process_toolchain() {
|
process_toolchain() {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче