.github/FUNDING.YML | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
.github/workflows/cpp.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
.travis.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
README.md | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
doc/development/Build-the-library-windows.rst | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
scripts/windows_download_boost.bat | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
.github/FUNDING.YML
New file @@ -0,0 +1 @@ custom: ['https://www.paypal.me/1gabr1'] .github/workflows/cpp.yml
New file @@ -0,0 +1,18 @@ name: CI on: push: jobs: build-windows: runs-on: windows-2019 steps: - uses: actions/checkout@v1 - name: Compile & Test run: | mkdir -p build cd build cmake -G "Visual Studio 16 2019" -DBUILD_TESTING:BOOL=OFF -DLCC_PROJECT_NAME:STRING=geode .. cmake --build . --config Debug shell: bash .travis.yml
@@ -209,7 +209,7 @@ echo "Boost already installed" else echo "Boost not cached, compiling it" wget -q https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.7z wget -q https://versaweb.dl.sourceforge.net/project/boost/boost/1.68.0/boost_1_68_0.7z echo "Boost downloaded" travis_wait 20 7z x boost_1_68_0.7z -oC:/local cd "C:/local/boost_1_68_0" README.md
@@ -17,8 +17,9 @@ A comprehensive [list of features](http://open-license-manager.github.io/open-license-manager/analysis/features.html), and their status is available in the project site. If you plan to use this library or part of it remember to show us your appreciation giving it a <a class="github-button" href="https://github.com/open-license-manager/open-license-manager" data-icon="octicon-star" aria-label="Star open-license-manager/open-license-manager on GitHub">star</a> here on GitHub. If you're experiencing problems, or you just need informations you can't find in the [documentation](http://open-license-manager.github.io/open-license-manager) please contact us on the [user forum](https://groups.google.com/forum/#!forum/licensecc) (hosted on Google), we'll be happy to help. Remember to show your appreciation giving us a <a class="github-button" href="https://github.com/open-license-manager/open-license-manager" data-icon="octicon-star" aria-label="Star open-license-manager/open-license-manager on GitHub">star</a> here on GitHub. ## License The project is donated to the community. It comes with a very large freedom of use for everyone, and it will always be. @@ -92,8 +93,7 @@ ## How to contribute The easiest way you can solve your problems or ask help is through the [forum](https://groups.google.com/forum/#!forum/licensecc) (hosted on Google), otherwise if you think there is a problem you can open an issue in the [issue system](https://github.com/open-license-manager/open-license-manager/issues). The easiest way you can solve your problems or ask help is through the [forum](https://groups.google.com/forum/#!forum/licensecc) (hosted on Google), otherwise if you think there is a problem you can open an issue in the [issue system](https://github.com/open-license-manager/open-license-manager/issues). Have a look to the [contribution guidelines](CONTRIBUTING.md) before reporting. We use [GitFlow](https://datasift.github.io/gitflow/IntroducingGitFlow.html) (or at least a subset of it). Remember to install the gitflow git plugin and use `develop` as default branch for your pull requests. doc/development/Build-the-library-windows.rst
@@ -100,8 +100,42 @@ MINGW ***************** .. TODO:: MINGW documentation need to be done. Refer to file .travis.yml to see a list of commands for windows-mingw Describe how to install and configure mingw Prerequistites: * Powershell * 7zip * git * cmake Install and compile boost: .. code-block:: console wget https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.7z 7z x boost_1_68_0.7z -oC:/local cd "C:\local\boost_1_68_0" bootstrap.bat gcc b2.exe -d0 --with-date_time --with-test --with-filesystem --with-program_options --with-regex --with-serialization --with-system runtime-link=static toolset=gcc --prefix=C:\local\boost_1_68_0\boost-mingw install cd C:/local/boost_1_68_0/boost-mingw/lib dir Verify boost is really compiled. Go to the folder where you want to download `licensecc` .. code-block:: console git clone --recursive https://github.com/open-license-manager/open-license-manager.git cd build && cmake -G "MinGW Makefiles" -DBOOST_ROOT="C:/local/boost_1_68_0/boost-mingw" -DBoost_ARCHITECTURE="-x64" -DCMAKE_CXX_COMPILER_ARCHITECTURE_ID="x64" -DCMAKE_SH="CMAKE_SH-NOTFOUND" .. cmake --build . --target install --config Release And then you can test it: .. code-block:: console ctest -C Release scripts/windows_download_boost.bat
@@ -2,7 +2,7 @@ REM build and cache boost on Windows N.B. if no output for 10 minutes it's killed by travis. if not exist "C:/local/boost/libs" ( echo "Boost not cached, compiling it" wget -q -O boost.exe https://dl.bintray.com/boostorg/release/1.71.0/binaries/boost_1_71_0-msvc-14.1-64.exe wget -q -O boost.exe https://versaweb.dl.sourceforge.net/project/boost/boost-binaries/1.71.0/boost_1_71_0-msvc-14.1-64.exe echo "Boost downloaded" boost.exe /SILENT /DIR=C:\local\boost echo "Boost installed"