hust-marx / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

CPP sources in X11 folder are not picked up by firebreath. #167

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate a plugin using the fgben.py under linux (ubuntu 10.10). 
2. Afterwards go to the projects/generatedproject/X11. Put a source file to be 
used by the plugin (helloworld.cpp e.g.)   
3. prepmake.sh/prepcodeblocks.sh

What is the expected output? What do you see instead?
The source code put in the X11 folder should be picked up and included in the 
project. 

What version of FireBreath are you using? On what operating system and
browsers?
OS: Ubuntu x64 10.10, Browser: Firefox: 
Firebreath dev branch: 3f05bbfdff647ff74a5124efab99adf0111a9a6f

What version of your compiler or IDE are you using?

Please provide any additional information below.

We have had a problem with the Windows plugin created using the
firebreath-1.4a2. Boost library assertion was failing and windows 7 x64
was showing a nasty message box showing the line number in shared_ptr.hpp 
where the assertion failed. So we have updated the firebreath.

Now the plugin can be built with Visual Studio express 10 with WiX installer 
etc. The plugin uses a class which is put in the X11/Win folder. Now it can't 
be compiled since firebreath doesn't pick it up and put it in the project 
dependencies.

I hope i was specific enough and you will be able to fix it soon. By the way, a 
great project. Thanks a lot for the work.

Original issue reported on code.google.com by gena...@googlemail.com on 10 Mar 2011 at 7:37

GoogleCodeExporter commented 9 years ago
Found the reason why.

X11/projectDef.cmake is using PLATFORM_NAME whereas in the common.cmake the 
variable
FB_PLATFORM_NAME is set prior to calling the X11/projectDef.cmake.

The problem doesn't appear in other platforms since they are hard coded. 
i.e Mac/projectDef.cmake has Mac/[^.]*.cpp.

I hope it helped.

Original comment by gena...@googlemail.com on 10 Mar 2011 at 10:35

GoogleCodeExporter commented 9 years ago
thanks for letting us know.  We'll fix it in the default fbgen template.

Original comment by taxilian on 11 Mar 2011 at 12:49

GoogleCodeExporter commented 9 years ago
Moved to JIRA: http://jira.firebreath.org/browse/FIREBREATH-7

Please continue watching there

Original comment by taxilian on 14 Mar 2011 at 7:13