Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Svenstaro on November 14, 2009, 06:53:31 am
-
Since so far multiple people have attempted to get SFML project support into Code::Blocks, here is my humble attempt. It provides both a wizard and a template. To test it, just put it to /usr/share/codeblocks/templatess/. I'd need this tested on Windows and Mac.
Hopefully we can get this merged this time ;)
[attachment deleted by admin]
-
Since nobody really seems to care, I also submitted a patch to the bug tracker: http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2851&group_id=5358
-
I suggest you learn how to make an SVN patch if you really care to have this patch added. But, It most likely makes no difference if all the files are new files. I have no idea what SFML is; no idea if the Code::Blocks dev team has a member who does or not.
Tim S.
-
FYI:
I do suggest attaching the patch file to the patch on Berlios; the attachments to messages on this board are deleted on a regular basis to save space.
Tim S.
-
Berlios only works with text files, this is a binary blob. I know how to do proper svn patches but this isn't really apropiate when I'm adding new files mostly. SFML is basically a faster, more modern SDL.
-
Since so far multiple people have attempted to get SFML project support into Code::Blocks, here is my humble attempt. It provides both a wizard and a template. To test it, just put it to /usr/share/codeblocks/templatess/. I'd need this tested on Windows and Mac.
Hopefully we can get this merged this time ;)
thank you! I will try it.
-
http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2851&group_id=5358
I've taken it (as I had the other, too).
But I have to tell you the same as wavesonics: It can only be applied if it's ready for the automake build system, too. This is missing completely so it needs to be done before committing. I'm very limited in time currently so this may take a while... Alternatively you can provde the required files, too. Just have a look at the other wizards how they are built. It's very easy.
-
Alright. I think I might have been too naive by doing this against the installed files only. Will provide a new package with auto* stuff a little later on.
-
Here you go, it includes patch and integrates wonderfully with trunk.
[attachment deleted by admin]
-
So can this last patch I attached in the previous post be merged now or are there still issues? I included the necessary binary files and a patch.
-
So can this last patch I attached in the previous post be merged now or are there still issues? I included the necessary binary files and a patch.
I didn't have the time for testing (need to "install" SFML on Windows / Linux before) but it's on my todo list. Please be patient.
-
Very well. Just making sure this actually goes somewhere this time since other people have attempted getting a SFML wizard in before and failed. I'll practice overwhelming patience now.
-
Still more patience? :(
-
Still more patience? :(
Well, still the build system is missing / invalid for the scripted wizard. So a commit would break compilation of C::B under Linux which is obviously not acceptable. I still need so time to setup the "Makefile.am"'s and test compilation under Linux.