User forums > General (but related to Code::Blocks)
wxWidgets Code::Blocks project
stahta01:
--- Quote from: ollydbg on September 01, 2011, 07:56:13 am ---Can you show us the link of wxCode/wxDemo?
--- End quote ---
Example source code links; so you can look at source code first
http://wxcode.svn.sourceforge.net/viewvc/wxcode/trunk/wxCode/components/wxdemo/build/
http://wxcode.svn.sourceforge.net/viewvc/wxcode/trunk/wxCode/components/wxdemo/wxWidgets/demoFiles/animate/
Link to full download
http://sourceforge.net/projects/wxcode/files/Components/wxDemo/
The source code files are 2009 Premake files; Premake files can create Code::Blocks projects.
Problem the files are two years old; but, he has the needed Premake command in his SVN.
No idea if the lua files need updating for 2.8.12; but, I think they did for 2.9 builds.
I do not remember ever testing this and seeing if it works or contains Code::Blocks projects.
But, it should work OK.
Finished the download; code snippet from the first sample project animate.cbp
--- Code: ---<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
--- End code ---
Tim S.
Alpha:
--- Quote from: stahta01 on September 01, 2011, 06:37:06 am ---You need to copy ..\..\include\wx\msw\setup0.h to ..\..\include\wx\msw\setup.h if the second file does not exist.
--- End quote ---
Thanks, I had overlooked that.
--- Quote from: ollydbg on September 01, 2011, 07:16:39 am ---If you use makefile, you can also achieve this by using something like:
--- Code: ---mingw32-make.exe -j4 -f makefile.gcc
--- End code ---
--- End quote ---
Thank you for pointing that out. (Hmm I really should look a little more carefully when I read documentation.) However, testing Code::Blocks and a makefile with the same build configuration on the same number of cores - Code::Blocks was about ten seconds faster; plus 1 for Code::Blocks. :)
--- Quote from: ollydbg on September 01, 2011, 07:16:39 am ---By the way, is it easy to create this cbp file. I would suggest if it possible to create such cbp files for wx's sample code.
--- End quote ---
I created the project file by hand (not very smart of me); I am looking into writing a small program that will recurse through the samples directories and generate some cbp's.
--- Quote from: stahta01 on September 01, 2011, 07:48:47 am ---FYI: I did some research in creating "cbp files for wx's sample code." the work is almost done (or done completely) by the wxCode wxDemo project.
--- End quote ---
Interesting, I will look into it
stahta01:
Fixed the Shared Multilib Build.
I added sub-folder(s) under build/msw that holds the several files that need to be renamed because they need to be compiled to two different object files. (one for base and second for core)
I also fixed many issues with files not being part of the right target.
Note: I added some defines that may not be needed.
Also, I added some post build commands to try to make CB 10.05 work; I finally gave up; never removed post build commands.
Tim S.
LETARTARE:
hello,
@stahta01
Did you update the file "wxWidgets-2.8.12.cbp" to version 2.9.x ?
Sincerely
stahta01:
--- Quote from: LETARTARE on November 17, 2012, 07:54:26 pm ---hello,
@stahta01
Did you update the file "wxWidgets-2.8.12.cbp" to version 2.9.x ?
Sincerely
--- End quote ---
No, I have not done that.
I might try to do it next year; depends on if I have freetime.
Tim S.
Navigation
[0] Message Index
[*] Previous page
Go to full version