emscripten Humble Cloud interface
Edward Rudd
2014-08-20 3ddd3172a7fe8060d52a3a370cabd4fa593fd95f

restructured source so client source is in subfolder

4 files renamed
1 files added
1 files deleted
52 ■■■■ changed files
CMakeLists.txt 24 ●●●●● patch | view | raw | blame | history
client/CMakeLists.txt 28 ●●●●● patch | view | raw | blame | history
client/library/humble_cloud.h patch | view | raw | blame | history
client/library/humble_cloud.js patch | view | raw | blame | history
client/test/main.cpp patch | view | raw | blame | history
client/test/shell.html patch | view | raw | blame | history
CMakeLists.txt
File was deleted
client/CMakeLists.txt
New file
@@ -0,0 +1,28 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
PROJECT(TestApp)
list(APPEND CMAKE_MODULE_PATH ../cmake)
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
ASM_FLAG
    NO_EXIT_RUNTIME=1
    EXPORTED_FUNCTIONS="['_main','_test_list_files']"
JS_LIBS
    ${CMAKE_CURRENT_SOURCE_DIR}/library/humble_cloud.js
)
client/library/humble_cloud.h
client/library/humble_cloud.js
client/test/main.cpp
client/test/shell.html