msvs2005prj and clean-files

Martin Gruber <[email protected]> Tue, 17 Feb 2009 08:45:52 +0100
Newsgroups gmane.comp.sysutils.bakefile.devel
Message-ID <[email protected]>
Hi everyone,
I've been using the -f msvc option to generate nmake-makefiles for some time. 
Now I read on this list, that msvs2005prj and vcbuild allows for better 
handling of dependencies from headers, but unfortunately my bakefile does not 
work with -f msvs2005prj, because of this:
"error: unknown target tag 'clean-files'"

Any chance of getting this to work? I am using bakefile 0.2.3

I also tried bakefile 0.2.5, but this does not work at all (even for 
nmake-makefiles) with the following error message, which is pretty unreadable 
to me:

Traceback (most recent call last):
  File "C:\Programme\Bakefile\src\bakefile.py", line 237, in <module>
    run(sys.argv[1:])
  File "C:\Programme\Bakefile\src\bakefile.py", line 204, in run
    read_ok = reader.read(args[0])
  File "C:\Programme\Bakefile\src\reader.py", line 1150, in read
    processFile(filename)
  File "C:\Programme\Bakefile\src\reader.py", line 1108, in processFile
    __doProcess(file=filename)
  File "C:\Programme\Bakefile\src\reader.py", line 1080, in __doProcess
    processNodes(m.children)
  File "C:\Programme\Bakefile\src\reader.py", line 1077, in processNodes
    h(e)
  File "C:\Programme\Bakefile\src\reader.py", line 943, in handleInclude
    if processFileIfExists(os.path.join(dir, file), justOnce):
  File "C:\Programme\Bakefile\src\reader.py", line 1112, in 
processFileIfExists
    processFile(filename, onlyOnce)
  File "C:\Programme\Bakefile\src\reader.py", line 1108, in processFile
    __doProcess(file=filename)
  File "C:\Programme\Bakefile\src\reader.py", line 1080, in __doProcess
    processNodes(m.children)
  File "C:\Programme\Bakefile\src\reader.py", line 1071, in processNodes
    processNodes(e.children)
  File "C:\Programme\Bakefile\src\reader.py", line 1077, in processNodes
    h(e)
  File "C:\Programme\Bakefile\src\reader.py", line 943, in handleInclude
    if processFileIfExists(os.path.join(dir, file), justOnce):
  File "C:\Programme\Bakefile\src\reader.py", line 1112, in 
processFileIfExists
    processFile(filename, onlyOnce)
  File "C:\Programme\Bakefile\src\reader.py", line 1108, in processFile
    __doProcess(file=filename)
  File "C:\Programme\Bakefile\src\reader.py", line 1080, in __doProcess
    processNodes(m.children)
  File "C:\Programme\Bakefile\src\reader.py", line 1077, in processNodes
    h(e)
  File "C:\Programme\Bakefile\src\reader.py", line 171, in handleSet
    cond = mk.makeCondition(condstr)
  File "C:\Programme\Bakefile\src\mk.py", line 447, in makeCondition
    assert conditions[cname].exprs == condexpr_list
AssertionError
Error executing the script!

Thanks in advance,
Martin

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H