Skip to content

Commit

Permalink
shadow-node(target) works
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkie committed Dec 3, 2019
1 parent b363e0c commit 6c21e51
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions deps/shadow-node/cmake/http-parser.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ ExternalProject_Add(http-parser
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
-DCMAKE_RANLIB=${CMAKE_RANLIB}
-DOS=${TARGET_OS}
${HTTPPARSER_NUTTX_ARG}
-DENABLE_MEMORY_CONSTRAINTS=ON
Expand Down
1 change: 1 addition & 0 deletions deps/shadow-node/cmake/jerry.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ ExternalProject_Add(libjerry
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
-DCMAKE_BUILD_TYPE=${JERRY_CMAKE_BUILD_TYPE}
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
-DCMAKE_RANLIB=${CMAKE_RANLIB}
-DENABLE_ALL_IN_ONE=OFF
-DJERRY_CMDLINE=OFF
-DFEATURE_SNAPSHOT_EXEC=${ENABLE_SNAPSHOT}
Expand Down
1 change: 1 addition & 0 deletions deps/shadow-node/cmake/libmqtt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ExternalProject_Add(libmqtt
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
-DCMAKE_RANLIB=${CMAKE_RANLIB}
-DENABLE_PROGRAMS=OFF
-DENABLE_TESTING=OFF
)
Expand Down
1 change: 1 addition & 0 deletions deps/shadow-node/cmake/libtuv.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ ExternalProject_Add(libtuv
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
-DCMAKE_RANLIB=${CMAKE_RANLIB}
-DTARGET_ARCH=${TARGET_ARCH}
-DTARGET_OS=${TARGET_OS}
-DLIBTUV_CUSTOM_LIB_OUT=lib
Expand Down
1 change: 1 addition & 0 deletions deps/shadow-node/cmake/mbedtls.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ExternalProject_Add(mbedtls
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
-DCMAKE_RANLIB=${CMAKE_RANLIB}
-DENABLE_PROGRAMS=OFF
-DENABLE_TESTING=OFF
)
Expand Down
1 change: 1 addition & 0 deletions deps/shadow-node/deps/http-parser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ message(STATUS "CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE}")
message(STATUS "OS ${OS}")
message(STATUS "NUTTX_HOME ${NUTTX_HOME}")
message(STATUS "ENABLE_MEMORY_CONSTRAINTS ${ENABLE_MEMORY_CONSTRAINTS}")
message(STATUS "CMAKE_RANLIB ${CMAKE_RANLIB}")

if(ENABLE_MEMORY_CONSTRAINTS)
set(DEFINES_HTTPPARSER ${DEFINES_HTTPPARSER} HTTPPARSER_ENABLE_MEMORY_CONSTRAINTS)
Expand Down

0 comments on commit 6c21e51

Please sign in to comment.