Porting from perforce/ftjam
Added by Brian Olsen over 1 year ago
I just found this jamplus. If the visual studio project file generation works, this will be great.
I'm trying to get anything to build with the jam.
I did a "make linux" then went to the unit tests. I copied Jamfile.jam to Jambase.jam and ran.
warning: unknown rule SubDir (last file: Jambase.jam)
warning: unknown rule C.Application (last file: Jambase.jam)
warning: unknown rule MakeLocate (last file: Jambase.jam)
warning: unknown rule Clean (last file: Jambase.jam)
don't know how to make all
- found 1 target(s)...
- can't find 1 target(s)...
- finished in 0.00 sec
Is there something obviously wrong or is the git version busted?
Replies (3)
RE: Porting from perforce/ftjam
-
Added by Brian Olsen over 1 year ago
and since this port looks like it's going to be a huge PITA....
Original jam has problems with expanding paths with spaces. That caused tons of grief when trying to handle including in a path like:
c:/Program Files/Visual Studio/Include
jam would expand that to
/Ic:/Program /IFiles/Visual /IStudio/Include
Please tell me this is fixed before I go any further?
RE: Porting from perforce/ftjam
-
Added by Joshua Jensen over 1 year ago
That is odd. I have a fresh Ubuntu installation that I just cloned JamPlus onto. I ran 'make linux', and then I built the unittest sample without issue.
What Linux distribution are you on? My guess is that fileunix.c's getexecutablepath() isn't working properly there. It retrieves the path via readlink("/proc/self/exe", buffer, bufferLen). Several Internet sites suggested that is the most portable way of retrieving the running executable's path.
RE: Porting from perforce/ftjam
-
Added by Joshua Jensen over 1 year ago
Brian Olsen wrote:
and since this port looks like it's going to be a huge PITA....
Wow. Harsh. :)
Original jam has problems with expanding paths with spaces. That caused tons of grief when trying to handle including in a path like:
c:/Program Files/Visual Studio/Include
jam would expand that to
/Ic:/Program /IFiles/Visual /IStudio/Include
Please tell me this is fixed before I go any further?
Paths with spaces sent to the compiler are properly quoted or escaped according to what the platform expects.
Josh
(1-3/3)