update
This commit is contained in:
parent
6daf99448e
commit
9c326aa755
@ -73,15 +73,15 @@ CXXFLAGS="-stdlib=libc++" CC="$HOST_CMAKE_C_COMPILER" CXX="$HOST_CMAKE_CXX_COMPI
|
|||||||
-DCMAKE_EXE_LINKER_FLAGS="${CMAKE_EXE_LINKER_FLAGS} ${HOST_CMAKE_EXE_LINKER_FLAGS}" \
|
-DCMAKE_EXE_LINKER_FLAGS="${CMAKE_EXE_LINKER_FLAGS} ${HOST_CMAKE_EXE_LINKER_FLAGS}" \
|
||||||
\
|
\
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DTD_GENERATED_BINARIES_DIR=../../implementations/tdlight/build/td/generate \
|
-DTD_GENERATED_BINARIES_DIR="$(readlink -e ../../implementations/tdlight/build/td/generate)" \
|
||||||
-DTD_SRC_DIR=../../implementations/tdlight \
|
-DTD_SRC_DIR="$(readlink -e ../../implementations/tdlight)" \
|
||||||
-DTD_ENABLE_LTO=ON \
|
-DTD_ENABLE_LTO=ON \
|
||||||
-DTDNATIVES_BIN_DIR="$(readlink -e ../tdjni_bin/)" \
|
-DTDNATIVES_BIN_DIR="$(readlink -e ../tdjni_bin/)" \
|
||||||
-DTDNATIVES_DOCS_BIN_DIR="$(readlink -e ../tdjni_docs/)" \
|
-DTDNATIVES_DOCS_BIN_DIR="$(readlink -e ../tdjni_docs/)" \
|
||||||
-DTd_DIR:PATH="$(readlink -e ../../implementations/tdlight/build/td_bin/lib/cmake/Td)" \
|
-DTd_DIR:PATH="$(readlink -e ../../implementations/tdlight/build/td_bin/lib/cmake/Td)" \
|
||||||
-DJAVA_SRC_DIR="../src/main/java" \
|
-DJAVA_SRC_DIR="$(readlink -e ../src/main/java)" \
|
||||||
-DJava_JAVADOC_EXECUTABLE="/bin/true" \
|
-DJava_JAVADOC_EXECUTABLE="/bin/true" \
|
||||||
-DTDNATIVES_CPP_SRC_DIR="../src/main/cpp" \
|
-DTDNATIVES_CPP_SRC_DIR="$(readlink -e ../src/main/cpp)" \
|
||||||
../src/main/cpp
|
../src/main/cpp
|
||||||
cmake --build . --target install --config Release "-j$(nproc)"
|
cmake --build . --target install --config Release "-j$(nproc)"
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -73,15 +73,15 @@ CXXFLAGS="-stdlib=libc++" CC="$HOST_CMAKE_C_COMPILER" CXX="$HOST_CMAKE_CXX_COMPI
|
|||||||
-DCMAKE_EXE_LINKER_FLAGS="${CMAKE_EXE_LINKER_FLAGS} ${HOST_CMAKE_EXE_LINKER_FLAGS}" \
|
-DCMAKE_EXE_LINKER_FLAGS="${CMAKE_EXE_LINKER_FLAGS} ${HOST_CMAKE_EXE_LINKER_FLAGS}" \
|
||||||
\
|
\
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DTD_GENERATED_BINARIES_DIR=../../implementations/tdlight/build/td/generate \
|
-DTD_GENERATED_BINARIES_DIR="$(readlink -e ../../implementations/tdlight/build/td/generate)" \
|
||||||
-DTD_SRC_DIR=../../implementations/tdlight \
|
-DTD_SRC_DIR="$(readlink -e ../../implementations/tdlight)" \
|
||||||
-DTD_ENABLE_LTO=ON \
|
-DTD_ENABLE_LTO=ON \
|
||||||
-DTDNATIVES_BIN_DIR="$(readlink -e ../tdjni_bin/)" \
|
-DTDNATIVES_BIN_DIR="$(readlink -e ../tdjni_bin/)" \
|
||||||
-DTDNATIVES_DOCS_BIN_DIR="$(readlink -e ../tdjni_docs/)" \
|
-DTDNATIVES_DOCS_BIN_DIR="$(readlink -e ../tdjni_docs/)" \
|
||||||
-DTd_DIR:PATH="$(readlink -e ../../implementations/tdlight/build/td_bin/lib/cmake/Td)" \
|
-DTd_DIR:PATH="$(readlink -e ../../implementations/tdlight/build/td_bin/lib/cmake/Td)" \
|
||||||
-DJAVA_SRC_DIR="../src/main/java" \
|
-DJAVA_SRC_DIR="$(readlink -e ../src/main/java)" \
|
||||||
-DJava_JAVADOC_EXECUTABLE="/bin/true" \
|
-DJava_JAVADOC_EXECUTABLE="/bin/true" \
|
||||||
-DTDNATIVES_CPP_SRC_DIR="../src/main/cpp" \
|
-DTDNATIVES_CPP_SRC_DIR="$(readlink -e ../src/main/cpp)" \
|
||||||
../src/main/cpp
|
../src/main/cpp
|
||||||
cmake --build . --target install --config Release "-j$(nproc)"
|
cmake --build . --target install --config Release "-j$(nproc)"
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -62,15 +62,15 @@ cd ../../../
|
|||||||
cd natives/build
|
cd natives/build
|
||||||
CXXFLAGS="-stdlib=libc++" CC="$HOST_CMAKE_C_COMPILER" CXX="$HOST_CMAKE_CXX_COMPILER" cmake \
|
CXXFLAGS="-stdlib=libc++" CC="$HOST_CMAKE_C_COMPILER" CXX="$HOST_CMAKE_CXX_COMPILER" cmake \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DTD_GENERATED_BINARIES_DIR=../../implementations/tdlight/build/td/generate \
|
-DTD_GENERATED_BINARIES_DIR="$(readlink -e ../../implementations/tdlight/build/td/generate)" \
|
||||||
-DTD_SRC_DIR=../../implementations/tdlight \
|
-DTD_SRC_DIR="$(readlink -e ../../implementations/tdlight)" \
|
||||||
-DTD_ENABLE_LTO=ON \
|
-DTD_ENABLE_LTO=ON \
|
||||||
-DTDNATIVES_BIN_DIR="$(readlink -e ../tdjni_bin/)" \
|
-DTDNATIVES_BIN_DIR="$(readlink -e ../tdjni_bin/)" \
|
||||||
-DTDNATIVES_DOCS_BIN_DIR="$(readlink -e ../tdjni_docs/)" \
|
-DTDNATIVES_DOCS_BIN_DIR="$(readlink -e ../tdjni_docs/)" \
|
||||||
-DTd_DIR:PATH="$(readlink -e ../../implementations/tdlight/build/td_bin/lib/cmake/Td)" \
|
-DTd_DIR:PATH="$(readlink -e ../../implementations/tdlight/build/td_bin/lib/cmake/Td)" \
|
||||||
-DJAVA_SRC_DIR="../src/main/java" \
|
-DJAVA_SRC_DIR="$(readlink -e ../src/main/java)" \
|
||||||
-DJava_JAVADOC_EXECUTABLE="/bin/true" \
|
-DJava_JAVADOC_EXECUTABLE="/bin/true" \
|
||||||
-DTDNATIVES_CPP_SRC_DIR="../src/main/cpp" \
|
-DTDNATIVES_CPP_SRC_DIR="$(readlink -e ../src/main/cpp)" \
|
||||||
-DCMAKE_TOOLCHAIN_FILE="${TOOLCHAIN_FILE}" \
|
-DCMAKE_TOOLCHAIN_FILE="${TOOLCHAIN_FILE}" \
|
||||||
../src/main/cpp
|
../src/main/cpp
|
||||||
cmake --build . --target install --config Release "-j$(nproc)"
|
cmake --build . --target install --config Release "-j$(nproc)"
|
||||||
|
Loading…
Reference in New Issue
Block a user