Browse Source

Fix for v8pp compilation, config.hpp needs to be generated in the correct directory.

master
Ray Burgemeestre 2 years ago
parent
commit
15379372c6
2 changed files with 1 additions and 3 deletions
  1. +1
    -0
      v8pp/Makefile
  2. +0
    -3
      v8pp/build-v8pp.sh

+ 1
- 0
v8pp/Makefile View File

cp -prv v8/out/x64.release/obj/libv8_monolith.a out/opt/cppse/build/v8pp/lib cp -prv v8/out/x64.release/obj/libv8_monolith.a out/opt/cppse/build/v8pp/lib
# We'll also include .so files.. # We'll also include .so files..
#echo TEMP find ./v8/out/x64.release/ -name '*.so' -type f | xargs -n 1 cp -prv -t out/opt/cppse/build/v8pp/lib #echo TEMP find ./v8/out/x64.release/ -name '*.so' -type f | xargs -n 1 cp -prv -t out/opt/cppse/build/v8pp/lib
ls -alh v8pp/v8pp/config.hpp*
cp -prv v8pp/v8pp out/opt/cppse/build/v8pp/include/ cp -prv v8pp/v8pp out/opt/cppse/build/v8pp/include/
cp -prv v8/include out/opt/cppse/build/v8pp/include/v8 cp -prv v8/include out/opt/cppse/build/v8pp/include/v8



+ 0
- 3
v8pp/build-v8pp.sh View File

typeset currentdir=$PWD/out typeset currentdir=$PWD/out
pushd v8pp pushd v8pp
mkdir -p out;
pushd out
pwd
cmake -DV8_INCLUDE_DIRS=$currentdir/opt/cppse/build/v8pp/include -DV8_LIB=$currentdir/opt/cppse/build/v8pp/lib -DV8_LIBPLATFORM=$currentdir/opt/cppse/build/v8pp/lib -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON .. cmake -DV8_INCLUDE_DIRS=$currentdir/opt/cppse/build/v8pp/include -DV8_LIB=$currentdir/opt/cppse/build/v8pp/lib -DV8_LIBPLATFORM=$currentdir/opt/cppse/build/v8pp/lib -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON ..

Loading…
Cancel
Save