-
example_cmake_export_target下载
资源介绍
如何运行容器
docker build \
--build-arg USER_NAME= $( whoami ) \
--build-arg USER_ID= $( id -u ) \
--build-arg USER_GID= $( id -g ) \
-t example-cmake-export-target-build .
docker run -it --rm -v ${PWD} :/usr/src/ example-cmake-export-target-build
如何执行范例
cd /usr/src/
# build and install the library
mkdir build_lib && cd build_lib
cmake ../lib/ && make -j10 && sudo make install
# build an