1
Development / Re: CodeBlocks with FortranProject plugin
« Last post by MehdiChinoune on Today at 02:21:35 pm »I am asking about building FortranProject alongside codeblocks. I know How to build it separately.
As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
Please, don't suggest something you didn't check yourself.
Good news: I had just forgotten to use some shell commands to change the Makefile so that it can work under MSYS2 zip. The following commands can change all back-slashes to forward-slashes and do other necessary modification:CodeA successful action can be found at https://github.com/zxunge/winstyle-codeblocks-bins/actions/runs/11192814700sed '/zip -jq9*/ s/\\/\//g' Makefile_core -i
sed -i '85 s/LIB_SDK = $(LIB) -lshfolder -ltxml -lwxscintilla_cb -lsquirrel -lgdi32/LIB_SDK = -lshfolder -ltxml -lwxscintilla_cb $(LIB) -lsquirrel -lgdi32/' Makefile_core
sed 's/$(DEP_.*//g' Makefile_core -i
So now maybe we can use a automatical winstyle build.
I'm now wondering if cbp2make can convert .workspace files.
./bootstrap
./configure
make
make install
LIBS="-ltinyxml" ./configure
Have a look at the C::B wiki pages.
sed '/zip -jq9*/ s/\\/\//g' Makefile_core -i
sed -i '85 s/LIB_SDK = $(LIB) -lshfolder -ltxml -lwxscintilla_cb -lsquirrel -lgdi32/LIB_SDK = -lshfolder -ltxml -lwxscintilla_cb $(LIB) -lsquirrel -lgdi32/' Makefile_core
sed 's/$(DEP_.*//g' Makefile_core -i