| | |
| | | include(BoilerPlate) |
| | | include(UtilityFunctions) |
| | | |
| | | add_custom_command( |
| | | OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/shell.html |
| | | COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/test/shell.html ${CMAKE_CURRENT_BINARY_DIR}/shell.html |
| | | DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/test/shell.html |
| | | COMMENT "Copy over Shell" |
| | | ) |
| | | |
| | | CreateProgram(TestApp |
| | | FILES |
| | | test/main.cpp |
| | | ${CMAKE_CURRENT_BINARY_DIR}/shell.html |
| | | INCLUDES |
| | | library |
| | | COPY_FILES |
| | | test/shell.html |
| | | ../humble_cloud/humble_cloud.js |
| | | ASM_FLAG |
| | | NO_EXIT_RUNTIME=1 |
| | | EXPORTED_FUNCTIONS="['_main','_test_list_files']" |