Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile with CMake
#1
EDIT: See also this thread: https://www.mystran.com/forums/showthread.php?tid=2

Cean Wang has created the files necessary to use CMake. He has also provided instructions in the link below. Note that the source code he used is an example and we will be updating the source code and it will be added to GitHub.

https://mystran.com/compile/CMake.zip

Also, as an FYI, we now have instructions for how to compile MYSTRAN with Code::Blocks. That will be provided once we upload the latest source code on GitHub.
Reply
#2
NOTE: You can also use the gFortran that comes with Code:Blocks (if you chose the download that has gFortran with it).

From Cean: To use CB's gfortran Ver 8.1 with cmake, you need add D:\Program Files\CodeBlocks\MinGW\bin into Window's PATH. Make a copy of mingw32-make.exe file (which is under that bin folder), rename that copy to make.exe. Otherwise, when run w.bat, cmake will not find make.exe program.

After that, w.bat and make.exe will compile the src.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)