pastebin - collaborative debugging tool
rovema.kpaste.net RSS


RDE: buildwinrde.bat
Posted by Anonymous on Sat 27th May 2023 12:13
raw | new post

  1. @echo on
  2.  
  3. set boost_Version=1_71_0
  4. set qt_Version=5_15_2
  5.  
  6. echo set path environment
  7. set boostpath=C:\Users\marvin.wenzel\Desktop\dependencies\win\boost\boost_%boost_Version%
  8. set qtpath=C:\Users\marvin.wenzel\Desktop\dependencies\win\qt\qt_%qt_Version%
  9.  
  10. echo "building with boost version %boost_Version% and qt version %qt_Version%
  11.  
  12. set PATH=%qtpath%\Tools\mingw810_64\bin;%qtpath%\5.15.2\mingw81_64\bin;%qtpath%\Tools\CMake_64\bin;%boostpath%\bin;%boostpath%\lib;%PATH%;
  13.  
  14. echo "mkdir $(Build.SourcesDirectory)\build | cd build"
  15. md build
  16. cd build
  17.  
  18. echo " "
  19. cmake -G "MinGW Makefiles" -DBOOST_ROOT="%boostpath%" -DBoost_LIB_PREFIX="lib" -DBoost_USE_STATIC_LIBS=TRUE -DBoost_ARCHITECTURE="-x64" -DBUILD_TESTS=ON ..
  20.  
  21. echo "Building"
  22. cmake --build . -j 10
  23.  
  24. echo finished cmake
  25.  
  26. cd ..

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at