Updated libraries and version
This commit is contained in:
+24
@@ -25,3 +25,27 @@
|
||||
[submodule "libraries/event"]
|
||||
path = libraries/event
|
||||
url = https://github.com/libevent/libevent.git
|
||||
[submodule "TeaSpeak"]
|
||||
path = TeaSpeak
|
||||
url = http://git.mcgalaxy.de:8090/WolverinDEV/TeaSpeak.git
|
||||
[submodule "libraries/spdlog"]
|
||||
path = libraries/spdlog
|
||||
url = http://git.mcgalaxy.de:8090/WolverinDEV/spdlog.git
|
||||
[submodule "libraries/StringVariable"]
|
||||
path = libraries/StringVariable
|
||||
url = https://github.com/WolverinDEV/StringVariable.git
|
||||
[submodule "libraries/ed25519"]
|
||||
path = libraries/ed25519
|
||||
url = https://github.com/WolverinDEV/ed25519.git
|
||||
[submodule "libraries/breakpad"]
|
||||
path = libraries/breakpad
|
||||
url = https://chromium.googlesource.com/breakpad/breakpad
|
||||
[submodule "mysqlconnector"]
|
||||
path = mysqlconnector
|
||||
url = https://github.com/mysql/mysql-connector-cpp.git
|
||||
[submodule "libraries/mysqlconnector"]
|
||||
path = libraries/mysqlconnector
|
||||
url = https://github.com/mysql/mysql-connector-cpp.git
|
||||
[submodule "libraries/boringssl"]
|
||||
path = libraries/boringssl
|
||||
url = https://boringssl.googlesource.com/boringssl
|
||||
|
||||
+1
-1
Submodule TeaSpeak updated: bd7b5cc570...43023c65a7
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
git config -f .gitmodules --get-regexp '^submodule\..*\.path$' |
|
||||
while read path_key path
|
||||
do
|
||||
url_key=$(echo $path_key | sed 's/\.path/.url/')
|
||||
url=$(git config -f .gitmodules --get "$url_key")
|
||||
git submodule add $url $path
|
||||
done
|
||||
+1
-1
Submodule libraries/CXXTerminal updated: 7d5c141ad0...cfcf317507
Submodule
+1
Submodule libraries/StringVariable added at 7868b90427
+1
-1
Submodule libraries/Thread-Pool updated: cba6e82b2f...8366444174
Submodule
+1
Submodule libraries/boringssl added at e0afc85719
Submodule
+1
Submodule libraries/breakpad added at ecbbfbeb9d
@@ -0,0 +1,3 @@
|
||||
|
||||
mkdir -p CXXTerminal/build event/build jsoncpp/build opus/build opusfile/build Thread-Pool/build tomcrypt/build tommath/build yaml-cpp/build
|
||||
|
||||
Submodule
+1
Submodule libraries/ed25519 added at 98bd4f3ec6
+1
-1
Submodule libraries/event updated: 08a0d36607...514dc7579c
+1
-1
Submodule libraries/jsoncpp updated: 313a0e4c34...80bc776bae
Submodule
+1
Submodule libraries/mysqlconnector added at 36b7e300a3
+1
-1
Submodule libraries/opus updated: 610c14ce80...c1c247d7e7
Submodule
+1
Submodule libraries/opusfile added at 189647328c
+1
-1
Submodule libraries/spdlog updated: 84d3c90b93...94c2ddf19d
+1
-1
Submodule libraries/tomcrypt updated: 0f7fd3c606...5f0bdabfc0
+1
-1
Submodule libraries/yaml-cpp updated: 5d5bb52ec2...1698b47b65
@@ -1,4 +1,7 @@
|
||||
sudo apt-get install libssl-dev
|
||||
sudo apt-get install libevent-dev
|
||||
sudo apt-get install libsqlite3-dev
|
||||
sudo apt-get install libevent-dev
|
||||
sudo apt-get install autotools-dev
|
||||
sudo apt-get install automake
|
||||
sudo apt-get install libtool
|
||||
sudo apt-get install libmysqlclient-dev
|
||||
|
||||
@@ -1,2 +1,44 @@
|
||||
Before you're doing something:
|
||||
git submodule update --remote
|
||||
git submodule update --remote -f --merge --recursive
|
||||
|
||||
|
||||
Build everythink with C++ ABI = 0
|
||||
(yaml-cpp needs CMakeLists.txt entry)
|
||||
|
||||
make -j 12 CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0"
|
||||
|
||||
For jsoncpp:
|
||||
make -j 12 CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11"
|
||||
NOTE: May was CXXFLAGS (without the underscore)
|
||||
|
||||
For yaml:
|
||||
cmake .. -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=Release
|
||||
make -j 12 CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -fPIC"
|
||||
|
||||
For breakpad:
|
||||
git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
|
||||
mkdir build && cd build
|
||||
../configure
|
||||
make CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11"
|
||||
|
||||
For MySQL:
|
||||
git submodule update --init
|
||||
mkdir build && cd build
|
||||
cmake .. -DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -static-libgcc -static-libstdc++" -DWITH_JDBC=ON
|
||||
make -j 12
|
||||
|
||||
For boringssl:
|
||||
cmake .. -DBUILD_SHARED_LIBS=ON
|
||||
make -j 8
|
||||
|
||||
Instal protobuf:
|
||||
sudo apt-get install -y git autoconf automake libtool curl make g++ unzip
|
||||
git clone https://github.com/google/protobuf.git
|
||||
cd protobuf/
|
||||
./autogen.sh
|
||||
./configure
|
||||
make
|
||||
make check
|
||||
sudo make install
|
||||
|
||||
|
||||
Reference in New Issue
Block a user