// install mysql client
sudo yum install mysql
sudo yum install mysql++-devel.x86_64
sudo yum install -y automake
sudo yum install libuuid-devel.x86_64
sudo pip3 install conan
export CPLUS_INCLUDE_PATH="/usr/include/mysql/:$CPLUS_INCLUDE_PATH"
export LIBRARY_PATH=/usr/lib64/mysql/:$LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/lib64/mysql/:$LD_LIBRARY_PATH
// install cmake
wget https://cmake.org/files/v3.23/cmake-3.23.1.tar.gz
tar -zxvf cmake-3.23.1.tar.gz
cd cmake-3.23.1
./bootstrap --prefix=~
make -j 9
make install
// or
wget https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-linux-x86_64.tar.gz
// install xmake
// https://xmake.io/#/zh-cn/guide/installation
git clone --recursive https://github.com/xmake-io/xmake.git
cd ./xmake
git checkout 3b46d14938f11ef59a75d6df3992227a819498e1
make build
./scripts/get.sh __local__ __install_only__
source ~/.xmake/profile
// or
wget https://github.com/xmake-io/xmake/releases/download/v2.7.5/xmake-v2.7.5.xz.run
chmod 777 xmake-v2.7.5.xz.run
./xmake-v2.7.5.xz.run
git clone https://github.com/fantasy-peak/example.git
cd example && mkdir build && cd build
cmake ..
make -j8
-
Notifications
You must be signed in to change notification settings - Fork 0
some examples of open source libraries,xmake management dependency
License
fantasy-peak/example
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
some examples of open source libraries,xmake management dependency
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published