Nightly jamplus-090908
Added by Simon Stevenson over 3 years ago
I updated to this version, and it seems to have broken my compiler flags. I was setting CCFLAGS/CC++FLAGS directly, but I changed it to
C.CFlags $(SRCS) : /O2 /Oi /Gy /MD /W3 /Zi : release ;
but that doesn't seem to work either. (Though using C.CFlags/C.C++Flags doesn't seem to work rolling back to 090827, so I dunno what's happening there)
Also, I was using the ProjectSubDir to move my output files:
rule ProjectSubDir PROJECT_NAME
{
LOCATE_TARGET = $(SUBDIR)/obj/$(PLATFORM)/$(CONFIG) ;
C.OutputPath $(PROJECT_NAME) : $(SUBDIR)/out/$(PLATFORM)/$(CONFIG) ;
C.OutputPostfix $(PROJECT_NAME) : ;
}
but that doesn't seem to have any affect any more.
Were there some breaking changes?
Replies (3)
RE: Nightly jamplus-090908
-
Added by Joshua Jensen over 3 years ago
No purposeful breaking changes. In any case, a new nightly has been posted. At this point, I think I'm down to fully documenting the rest of 0.4 and fixing any remaining bugs. Pound on the build, and let me know.
Josh
RE: Nightly jamplus-090908
-
Added by Simon Stevenson over 3 years ago
I figured out what's happening.
C.C++Flags adds flags, not sets them to what's listed, and I want to overwrite them with my flags.
I tried C.RemoveFlags, but that doesn't seem to do anything...
RE: Nightly jamplus-090908
-
Added by Joshua Jensen over 3 years ago
Sorry, I missed this.
Yes, those add flags. If you want to log a bug to have a rule to completely replace the flags, feel free. Having it in the Issue Tracker makes it easy to see what needs to be done.
Josh
(1-3/3)