File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1616# limitations under the License.
1717# /
1818
19+ # VARIABLES #
20+
21+ # Define the path to a script for compiling a C++ example:
22+ compile_cpp_example_bin := $(TOOLS_DIR ) /scripts/compile_cpp_example
23+
24+
1925# RULES #
2026
2127# /
@@ -45,7 +51,7 @@ examples-cpp:
4551 NODE=" $( NODE) " \
4652 NODE_PATH=" $( NODE_PATH) " \
4753 CXX_COMPILER=" $( CXX) " \
48- BOOST= " $( DEPS_BOOST_BUILD_OUT ) " $( MAKE ) && \
54+ " ${compile_cpp_example_bin} " $$ file && \
4955 $(MAKE ) run || exit 1; \
5056 done
5157
@@ -75,7 +81,7 @@ examples-cpp-files:
7581 NODE=" $( NODE) " \
7682 NODE_PATH=" $( NODE_PATH) " \
7783 CXX_COMPILER=" $( CXX) " \
78- BOOST= " $( DEPS_BOOST_BUILD_OUT ) " $( MAKE ) && \
84+ " ${compile_cpp_example_bin} " $$ file && \
7985 $(MAKE ) run || exit 1; \
8086 done
8187
You can’t perform that action at this time.
0 commit comments