allow configuring the provider via the cmake for the test program.
| | |
| | | include(BoilerPlate) |
| | | include(UtilityFunctions) |
| | | |
| | | set(TEST_CLOUD_PROVIDER HumbleBundle CACHE STRING "Cloud provider to bind in the test shell") |
| | | configure_file(test/shell.html shell.html @ONLY) |
| | | |
| | | CreateProgram(TestApp |
| | | FILES |
| | | test/main.cpp |
| | | INCLUDES |
| | | library |
| | | COPY_FILES |
| | | test/shell.html |
| | | ../humble_cloud/humble_cloud.js |
| | | ASM_FLAG |
| | | NO_EXIT_RUNTIME=1 |
| | |
| | | sync: [ |
| | | ], |
| | | // which provider engine to use.. Looks for a provider in the CLOUD_PROVIDERS object |
| | | provider: 'HumbleBundle', |
| | | provider: '@TEST_CLOUD_PROVIDER@', |
| | | // configuration sent to the provider |
| | | cloud: { |
| | | applicationtoken: 'deadbeef' |