mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
Testing.
This commit is contained in:
parent
16ef503930
commit
56fa467b63
3 changed files with 7 additions and 3 deletions
|
@ -27,7 +27,8 @@ RUN mkdir -p "$ANDROID_HOME" "$ANDROID_SDK_HOME" && \
|
|||
unzip sdk.zip && \
|
||||
rm sdk.zip && \
|
||||
yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
RUN yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses && $ANDROID_HOME/tools/bin/sdkmanager --update # Install Android Build Tool and Libraries
|
||||
|
||||
# Install Android Build Tool and Libraries
|
||||
RUN $ANDROID_HOME/tools/bin/sdkmanager --update
|
||||
RUN $ANDROID_HOME/tools/bin/sdkmanager "build-tools;${ANDROID_BUILD_TOOLS_VERSION}" \
|
||||
"platforms;android-${ANDROID_VERSION}" \
|
||||
|
|
|
@ -32,8 +32,8 @@ if (BUILD_TOOLS)
|
|||
set_target_properties(oven PROPERTIES FOLDER "Tools")
|
||||
|
||||
# No need to build on Android or in a Production build
|
||||
if (NOT ANDROID AND NOT RELEASE_TYPE STREQUAL "PRODUCTION")
|
||||
## if (NOT ANDROID AND NOT RELEASE_TYPE STREQUAL "PRODUCTION")
|
||||
add_subdirectory(nitpick)
|
||||
set_target_properties(nitpick PROPERTIES FOLDER "Tools")
|
||||
endif()
|
||||
## endif()
|
||||
endif()
|
||||
|
|
|
@ -76,6 +76,9 @@ elseif (WIN32)
|
|||
|
||||
# add an executable that also has the icon itself and the configured rc file as resources
|
||||
add_executable(${TARGET_NAME} WIN32 ${NITPICK_SRCS} ${QM} ${CONFIGURE_ICON_RC_OUTPUT} ${CONFIGURE_VERSION_INFO_RC_OUTPUT})
|
||||
elseif (ANDROID)
|
||||
# on android the target is a library that gets linked/used by the APK shell that qtcreateapk produces
|
||||
add_library(${TARGET_NAME} ${INTERFACE_SRCS} ${QM})
|
||||
else ()
|
||||
add_executable(${TARGET_NAME} ${NITPICK_SRCS} ${QM})
|
||||
endif ()
|
||||
|
|
Loading…
Reference in a new issue