Skip to content

Commit b8fd0ef

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 09921f2 + 9113d36 commit b8fd0ef

File tree

1,236 files changed

+146203
-66134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,236 files changed

+146203
-66134
lines changed

.github/TESTRUNNER.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# testRunner
22

3-
We use [testRunner](https://www.pxscene.org/examples/px-reference/test-run/testRunner.js) to run JavaScript tests that exercise pxObjects and the JavaScript wrappers. By default, testRunner will run the tests located here: [tests.json](https://www.pxscene.org/examples/px-reference/test-run/tests.json). For our Travis CI builds, however, the tests.json from pxCore/tests/pxScene2d/tests/testRunner/tests.json will be used.
3+
We use [testRunner](https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/testRunner_v7.js) to run JavaScript tests that exercise pxObjects and the JavaScript wrappers. When no _tests_ parameter is passed to it, testRunner will run the tests located here: [tests.json](https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/tests.json). For our Travis CI builds, however, the tests to run will come from two test files in pxCore/tests/pxScene2d/tests/testRunner: tests.json and testsDesktop.json. All new tests should be added to tests.json unless the test is a special case that would exceed the memory constraints of embedded devices. For those special tests, they should be added to testsDesktop.json, instead.
44

5-
*testRunner* will run all tests defined in tests.json and will report success and failure from those tests. When tests have completed, it will display a Results page indicating how many tests succeeded and how many failed. If there are failures, the details of those failures will be displayed as a list on screen. These results will also be output to the console/log.
5+
*testRunner* will run all tests defined in the json files passed to it and will report success and failure from those tests. When tests have completed, it will display a Results page indicating how many tests succeeded and how many failed. If there are failures, the details of those failures will be displayed as a list on screen. These results will also be output to the console/log.
66

77
## Adding a testRunner Test:
88
1. Create a test JavaScript file according to instructions in [Defining Tests](#defining-test-functions-to-be-run). We suggest creating a pull request to add the test to [pxscene](https://github.com/pxscene/pxscene/tree/gh-pages) for open source availability.

.gitmodules

Whitespace-only changes.

.travis.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,39 @@ matrix:
33
- os: linux
44
dist: trusty
55
sudo: required
6+
addons:
7+
apt:
8+
sources:
9+
- ubuntu-toolchain-r-test
10+
packages:
11+
- gcc-6
12+
- g++-6
13+
env:
14+
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
615
- os: osx
7-
osx_image: xcode6.4
16+
osx_image: xcode9.4
817
language: c++
918
before_install:
19+
- eval "${MATRIX_EVAL}"
1020
- if [ "$TRAVIS_EVENT_TYPE" != "pull_request" ]; then openssl aes-256-cbc -K $encrypted_8b763c087de9_key -iv $encrypted_8b763c087de9_iv -in pxscene-build.pem.enc -out /tmp/pxscene-build.pem -d; fi
1121
- if [ "$TRAVIS_EVENT_TYPE" != "pull_request" ]; then eval "$(ssh-agent -s)"; fi
1222
- if [ "$TRAVIS_EVENT_TYPE" != "pull_request" ]; then chmod 0600 /tmp/pxscene-build.pem; fi
1323
- if [ "$TRAVIS_EVENT_TYPE" != "pull_request" ]; then ssh-add /tmp/pxscene-build.pem; fi
1424
- ./ci/before_install.sh
15-
- if [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then export PATH=/usr/local/opt/ccache/libexec:$PATH; fi
25+
- if ( [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ] ) && [ -z "${TRAVIS_TAG}" ] && [ "$TRAVIS_OS_NAME" = "osx" ] ; then export PATH=/usr/local/opt/ccache/libexec:$PATH ; fi
26+
- if ( [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ] ) && [ -z "${TRAVIS_TAG}" ] && [ "$TRAVIS_OS_NAME" = "linux" ] ; then export PATH=/usr/lib/ccache:$PATH ; fi
27+
- gcc -v && g++ -v
1628
install:
1729
- ./ci/install.sh
1830
before_script:
19-
- if [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then ccache -s; fi
31+
- if ( [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ] ) && [ -z "${TRAVIS_TAG}" ] ; then ccache -s; fi
2032
- ./ci/before_script.sh
21-
- if [ "$TRAVIS_EVENT_TYPE" = "api" ]; then export linenumber=`awk '/CFBundleShortVersionString/{ print NR; exit }' $TRAVIS_BUILD_DIR/examples/pxScene2d/src/macstuff/Info.plist`;export PX_VERSION=`sed -n "\`echo $((linenumber+1))\`p" $TRAVIS_BUILD_DIR/examples/pxScene2d/src/macstuff/Info.plist|awk -F '<string>' '{print $2}'|awk -F'</string>' '{print $1}'`; fi
22-
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then export PX_VERSION="edge" ; fi
33+
- if [ "$TRAVIS_EVENT_TYPE" = "api" ] || [ ! -z "${TRAVIS_TAG}" ] ; then export linenumber=`awk '/CFBundleShortVersionString/{ print NR; exit }' $TRAVIS_BUILD_DIR/examples/pxScene2d/src/macstuff/Info.plist`;export PX_VERSION=`sed -n "\`echo $((linenumber+1))\`p" $TRAVIS_BUILD_DIR/examples/pxScene2d/src/macstuff/Info.plist|awk -F '<string>' '{print $2}'|awk -F'</string>' '{print $1}'`; fi
34+
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then export PX_VERSION=edge_`date +%Y-%m-%d` ; fi
2335
script:
2436
- ./ci/script.sh
25-
- if [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then codecov --build "$TRAVIS_OS_NAME-$TRAVIS_COMMIT-$TRAVIS_BUILD_NUMBER" -X gcov -f $TRAVIS_BUILD_DIR/tracefile ; fi
26-
- if [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then genhtml -o $TRAVIS_BUILD_DIR/logs/codecoverage $TRAVIS_BUILD_DIR/tracefile; fi
37+
- if ( [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ] ) && [ -z "${TRAVIS_TAG}" ] ; then codecov --build "$TRAVIS_OS_NAME-$TRAVIS_COMMIT-$TRAVIS_BUILD_NUMBER" -X gcov -f $TRAVIS_BUILD_DIR/tracefile ; fi
38+
- if ( [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ] ) && [ -z "${TRAVIS_TAG}" ] ; then genhtml -o $TRAVIS_BUILD_DIR/logs/codecoverage $TRAVIS_BUILD_DIR/tracefile; fi
2739
after_script:
2840
- ./ci/after_script.sh
2941
- if [ "$TRAVIS_EVENT_TYPE" != "pull_request" ]; then rm -rf /tmp/pxscene-build.pem; fi

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ option(BUILD_PXCORE "BUILD_PXCORE" ON)
55
option(BUILD_PXSCENE "BUILD_PXSCENE" ON)
66
option(BUILD_PX_TESTS "BUILD_PX_TESTS" OFF)
77
option(BUILD_RTREMOTE_LIBS "BUILD_RTREMOTE_LIBS" OFF)
8+
option(BUILD_PXBENCHMARK "BUILD_PXBENCHMARK" OFF)
89

910
option(PREFER_SYSTEM_LIBRARIES "Prefer to use system libraries over bundled." "OFF")
1011
# Fine selection of which external node package to pick-up, if multiple are installed on the system
@@ -15,6 +16,7 @@ option(DISABLE_DEBUG_MODE "Disable debugging mode." "OFF") # OFF for backward co
1516

1617
option(SUPPORT_DUKTAPE "SUPPORT_DUKTAPE" ON)
1718
option(SUPPORT_NODE "SUPPORT_NODE" ON)
19+
option(SUPPORT_V8 "SUPPORT_V8" OFF)
1820

1921
option(ENABLE_THREAD_SANITIZER "ENABLE_THREAD_SANITIZER" OFF)
2022
option(ENABLE_ADDRESS_SANITIZER "ENABLE_ADDRESS_SANITIZER" OFF)
@@ -55,3 +57,8 @@ if (BUILD_PX_TESTS)
5557
message("Including unit test support")
5658
add_subdirectory(tests/pxScene2d)
5759
endif (BUILD_PX_TESTS)
60+
61+
if (BUILD_PXBENCHMARK)
62+
message("Building pxbenchmark")
63+
add_subdirectory(examples/pxBenchmark/src)
64+
endif (BUILD_PXBENCHMARK)

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
# pxCore
22

3-
pxCore is a small opensource library that provides a portable framebuffer and windowing abstraction for C++. This library is intended to hide the complexity of writing rasterization code on multiple platforms and allows you to easily write the following sorts of things in a portable way.
3+
pxCore is a small open source library that provides a portable framebuffer and windowing abstraction for C++. This library is intended to hide the complexity of writing rasterization code on multiple platforms and allows you to easily write the following sorts of things in a portable way:
44

55
* 2d and 3d rasterizers
66
* Transition Libraries
77
* Filter Routines
88
* Image Processing
99

10-
In its design a few principles were followed:
10+
In its design, a few principles were followed:
1111

1212
* Be Small – A simple windowed application can be built (on Windows) in as little as 8k.
1313
* Be Simple – The framebuffer abstraction supports 32bpp framebuffers and is intended to be minimal yet complete.
14-
* Don’t tightly couple the framebuffer and windowing functionality. Some other framebuffer libraries (PixelToaster for one) don’t separate out the framebuffer abstraction from the windowing abstraction. By loosely coupling the two abstractions this library becomes much more valuable because the framebuffer functionality can be used and integrated with other windowing toolkits easily, thereby making YOUR code more reusable.
14+
* Don’t tightly couple the framebuffer and windowing functionality. Some other framebuffer libraries (eg. PixelToaster) don’t separate out the framebuffer abstraction from the windowing abstraction. By loosely coupling the two abstractions, this library becomes much more valuable. The framebuffer functionality can be used and integrated with other windowing toolkits easily, making YOUR code more reusable.
1515
* Platform native surface construction
1616
* Policy free resizing support – No policy is baked into the window resizing support so that applications completely control their own resizing behavior.
1717
* Portable Keyboard, Mouse and Window events
1818
* Support for portable performance timers
19-
* Basic Animation Support - Support for a basic animation timer event (frames per second) is built into the windowing abstraction making it easy to write applications that animate their contents.
20-
* pxCore has been ported to Windows, pocketpc (arm4), linux(x11), OSX.
19+
* Basic Animation Support - Support for a basic animation timer event (frames per second) is built into the windowing abstraction, making it easy to write applications that animate their contents.
20+
* pxCore has been ported to Windows, pocketpc (arm4), linux(x11), and OSX.
2121

2222

23-
The most popular usage of pxCore is __pxscene__. __pxscene__ is an application engine that exposes a scene graph API to a Javascript engine. It gives javascript applications access to the pxscene API for visual elements that can be used for composition. __pxscene__ is written over top of pxCore. __pxscene__:
23+
The most popular usage of pxCore is __pxscene__. __pxscene__ is an application engine that exposes a scene graph API to a Javascript engine. It gives JavaScript applications access to the pxscene API for visual elements that can be used for composition. __pxscene__ is written on top of pxCore.
24+
25+
__pxscene__:
2426

2527
* supports rich animation and alpha masking primitives
2628
* exposes a DOM-like programming model
@@ -29,6 +31,6 @@ The most popular usage of pxCore is __pxscene__. __pxscene__ is an application e
2931

3032
__pxscene__ source code is in pxCore/examples/pxScene2d.
3133
Instructions for building __pxscene__ are here: [Building pxscene](https://github.com/pxscene/pxCore/blob/master/examples/pxScene2d/README.md)
32-
Instructions for debugging __pxscene__ javascript applications using VSCode are here: [Debugging applications](https://github.com/pxscene/pxCore/blob/master/examples/pxScene2d/VSCODE_DEBUG.md)
34+
Instructions for debugging __pxscene__ JavaScript applications using VSCode are here: [Debugging applications](https://github.com/pxscene/pxCore/blob/master/examples/pxScene2d/VSCODE_DEBUG.md)
3335

3436

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,6 @@ build_script:
4646

4747
test: off
4848

49+
cache:
50+
- c:/dw/pxCore/examples/pxScene2d/external/vc.build/builds/
4951
# validator: https://ci.appveyor.com/tools/validate-yaml

ci/after_script.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ checkError()
1616

1717
if [ "$TRAVIS_OS_NAME" = "linux" ]
1818
then
19-
if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_EVENT_TYPE" = "api" ]
19+
if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_EVENT_TYPE" = "api" ] || [ ! -z "${TRAVIS_TAG}" ]
2020
then
2121
echo "Ignoring after script stage for $TRAVIS_EVENT_TYPE event";
2222
exit 0;
2323
fi
2424
fi
2525

2626
cd $TRAVIS_BUILD_DIR
27-
if [ "$TRAVIS_EVENT_TYPE" = "push" ] ;
27+
if [ "$TRAVIS_EVENT_TYPE" = "push" ] && [ -z "${TRAVIS_TAG}" ]
2828
then
2929
tar -cvzf logs.tgz logs/*
3030
checkError $? "Unable to compress logs folder" "Check for any previous tasks failed" "Retry"
3131
./ci/deploy_files.sh 96.116.56.119 logs.tgz;
3232
checkError $? "Unable to send log files to 96.116.56.119" "Possible reason - Server could be down" "Retry"
3333
fi
3434

35-
if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_EVENT_TYPE" = "api" ] ;
35+
if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_EVENT_TYPE" = "api" ] || [ ! -z "${TRAVIS_TAG}" ]
3636
then
3737
mkdir release
3838
checkError $? "unable to create release directory" "Could be permission issue?" "Retry"
@@ -42,20 +42,20 @@ then
4242
checkError $? "unable to move artifacts folder to release directory" "artifacts directory created" "Retry"
4343
tar -cvzf release.tgz release/*
4444
checkError $? "unable to compress release folder" "release folder present?" "Retry"
45-
if [ "$TRAVIS_REPO_SLUG" = "pxscene/pxCore" ] && [ "$TRAVIS_BRANCH" = "master" ] ;
45+
if [ "$TRAVIS_REPO_SLUG" = "pxscene/pxCore" ] && ( [ "$TRAVIS_BRANCH" = "master" ] || [ "$TRAVIS_BRANCH" = "$TRAVIS_TAG" ] );
4646
then
4747
./ci/release_osx.sh 96.116.56.119 release.tgz
4848
checkError $? "unable to send artifacts to 96.116.56.119" "96.116.56.119 down?" "Retry"
4949
fi
5050
fi
5151

52-
if [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ] ;
52+
if ( [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ] ) && [ -z "${TRAVIS_TAG}" ]
5353
then
5454
ccache -s
5555
fi
5656

5757
#update release notes and info.plist in github
58-
if [ "$TRAVIS_EVENT_TYPE" = "api" ] && [ "$UPDATE_VERSION" = "true" ] ;
58+
if ( [ "$TRAVIS_EVENT_TYPE" = "api" ] || [ ! -z "${TRAVIS_TAG}" ] ) && [ "$UPDATE_VERSION" = "true" ]
5959
then
6060
git checkout master
6161
checkError $? "unable to checkout master branch in pxscene" "" "check the credentials"

src/rtCORSUtils.h renamed to ci/apache_license.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,3 @@
1616

1717
*/
1818

19-
#ifndef _RT_CORS_UTILS
20-
#define _RT_CORS_UTILS
21-
22-
#include "rtString.h"
23-
#include "rtError.h"
24-
25-
rtError rtCORSUtilsCheckOrigin(const rtString& origin, const rtString& url, const rtString& headers);
26-
27-
#endif

ci/before_install.sh

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,25 @@ $TRAVIS_BUILD_DIR/ci/monitor.sh &
2626

2727
if [ "$TRAVIS_OS_NAME" = "linux" ]
2828
then
29-
if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_EVENT_TYPE" = "api" ]
29+
if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_EVENT_TYPE" = "api" ] || [ ! -z "${TRAVIS_TAG}" ]
3030
then
3131
sudo apt-get install jq
3232
sudo apt-get install wget
3333
exit 0;
3434
fi
3535
fi
3636

37+
#do the license check
38+
if [ "$TRAVIS_OS_NAME" = "linux" ] ;
39+
then
40+
$TRAVIS_BUILD_DIR/ci/licenseScanner.sh
41+
if [ "$?" != "0" ]
42+
then
43+
printf "\n!*!*!* licenseScanner.sh detected files without proper license. Please refer to the logs above. !*!*!*\n"
44+
exit 1;
45+
fi
46+
fi
47+
3748
#install necessary basic packages for linux and mac
3849
if [ "$TRAVIS_OS_NAME" = "linux" ] ;
3950
then
@@ -56,7 +67,7 @@ fi
5667
#install lighttpd, code coverage binaries for mac
5768
if [ "$TRAVIS_OS_NAME" = "osx" ] ;
5869
then
59-
if [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]
70+
if ( [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ] ) && [ -z "${TRAVIS_TAG}" ]
6071
then
6172
# brew install lighttpd
6273
brew install gcovr
@@ -107,7 +118,7 @@ fi
107118

108119

109120
#install codecov
110-
if [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]
121+
if ( [ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "pull_request" ] ) && [ -z "${TRAVIS_TAG}" ]
111122
then
112123
if [ "$TRAVIS_OS_NAME" = "osx" ] ;
113124
then

ci/before_script.sh

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,32 @@
11
#!/bin/sh
22

3-
currdir=`pwd`
4-
cd $TRAVIS_BUILD_DIR/tests/pxScene2d/testRunner
5-
cp tests.json tests.json_orig
3+
TESTS_DIR="${TRAVIS_BUILD_DIR}/tests/pxScene2d"
4+
TESTSDESKTOP_JSON="${TESTS_DIR}/testRunner/testsDesktop.json"
5+
cp "${TESTSDESKTOP_JSON}" "${TESTS_DIR}/testRunner/testsDesktop.json_orig"
66

7-
#make arrangements for ignoring pxwayland tests for osx and linux
8-
if [ "$TRAVIS_OS_NAME" = "osx" ]
9-
then
10-
sed -i -n '/pxWayland/d' tests.json
11-
else
12-
sed -i '/pxWayland/d' tests.json
13-
fi
7+
TESTS_JSON="${TESTS_DIR}/testRunner/tests.json"
8+
cp "${TESTS_JSON}" "${TESTS_DIR}/testRunner/tests.json_orig"
149

15-
#make arrangements for ignoring permissions tests for osx and linux
16-
if grep -q "_TEST_PERMISSIONS_CHECK\" OFF" "$TRAVIS_BUILD_DIR/tests/pxScene2d/CMakeLists.txt"
17-
then
18-
if [ "$TRAVIS_OS_NAME" = "osx" ]
19-
then
20-
sed -i -n '/permissions/d' tests.json
21-
else
22-
sed -i '/permissions/d' tests.json
23-
fi
24-
fi
10+
drop_json_lines()
11+
{
12+
MATCH=$1
13+
FILE=$2
14+
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
15+
sed -i -n "/${MATCH}/d" "${FILE}"
16+
else
17+
sed -i "/${MATCH}/d" "${FILE}"
18+
fi
19+
#delete last comma in json file, if any
20+
sed -i -e x -e '$ {s/,$//;p;x;}' -e 1d "${FILE}"
21+
}
2522

26-
#delete last comma in json file, if any
27-
sed -i -e x -e '$ {s/,$//;p;x;}' -e 1d tests.json
23+
#make arrangements for ignoring some tests
24+
drop_json_lines "pxWayland" "${TESTSDESKTOP_JSON}"
25+
if ! grep -q "TEST_PERMISSIONS_CHECK\" ON" "${TESTS_DIR}/CMakeLists.txt" ; then
26+
drop_json_lines "permissions" "${TESTS_JSON}"
27+
fi
28+
if ! grep -q "ACCESS_CONTROL_CHECK\" ON" "${TRAVIS_BUILD_DIR}/examples/pxScene2d/src/CMakeLists.txt"; then
29+
drop_json_lines "cors" "${TESTS_JSON}"
30+
fi
2831

29-
cd $currdir
3032
exit 0;

ci/build_linux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cd temp
2727
if [ "$TRAVIS_PULL_REQUEST" = "false" ]
2828
then
2929
echo "************************* Generating config files *************************" >> $BUILDLOGS
30-
cmake -DBUILD_PX_TESTS=ON -DBUILD_PXSCENE_STATIC_LIB=ON -DBUILD_DEBUG_METRICS=ON .. >>$BUILDLOGS 2>&1;
30+
cmake -DBUILD_PX_TESTS=ON -DBUILD_PXSCENE_STATIC_LIB=ON -DBUILD_DEBUG_METRICS=ON -DPXSCENE_TEST_HTTP_CACHE=ON .. >>$BUILDLOGS 2>&1;
3131
checkError $? "cmake config failed" "Config error" "Check the error in $BUILDLOGS"
3232

3333
echo "************************* Building pxcore,rtcore,pxscene app,libpxscene, unitttests ****" >> $BUILDLOGS
@@ -36,7 +36,7 @@ then
3636

3737
else
3838
echo "************************* Generating config files ****"
39-
cmake -DBUILD_PX_TESTS=ON -DBUILD_PXSCENE_STATIC_LIB=ON -DBUILD_DEBUG_METRICS=ON .. 1>>$BUILDLOGS;
39+
cmake -DBUILD_PX_TESTS=ON -DBUILD_PXSCENE_STATIC_LIB=ON -DBUILD_DEBUG_METRICS=ON -DPXSCENE_TEST_HTTP_CACHE=ON .. 1>>$BUILDLOGS;
4040
checkError $? "cmake config failed" "Config error" "Check the errors displayed in this window"
4141

4242
echo "************************* Building pxcore,rtcore,pxscene app,libpxscene, unitttests ********"

0 commit comments

Comments
 (0)