Francesco Montorsi escribió:
> Matías Szeftel ha scritto:
>   
>> I've just downloaded the 2.2 version of bakefile. And I can't create
>> msvc2005 projects.
>>     
> seems strange, it works fine for many other projects I have baked...
>
>   

This is the output I get:

[1/5] generating msvs2005prj from centro_salud.bkl
WARNING: Arbitrary commands are not implemented for project files.
...
//many times
...
WARNING: Arbitrary commands are not implemented for project files.
E:\Disco Backup\BACKUP (D)\Proyectos\build\bakefiles\targets.bkl:60:
error: unknown template '__phony'
    included from E:\Disco Backup\BACKUP
(D)\Proyectos\build\bakefiles\wxcode.bkl:19
    included from E:\Disco Backup\BACKUP
(D)\Proyectos\CentroSalud-SVN\build\centro_salud.bkl:52
[bakefile_gen] error: bakefile exited with error

And this is my bakefile file, nothing special:

<?xml version="1.0" ?>

<!-- RCS-ID: $Id: centro_salud.bkl,v 1.5 2007/01/08 11:05:34 mszeftel
Exp $ -->

<makefile>
   
    <!-- Set the defaults for the variables used by wxCode bakefiles -->
    <set var="WXCODE_BAKEFILEDIR">../../build/bakefiles</set>
    <include file="$(WXCODE_BAKEFILEDIR)/defaults.bkl"/>
   
    <!--
================================================================= -->
    <!-- Settings for this
component                                       -->
    <!--
================================================================= -->

    <!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Set the name of the folder which contains this component and thus
        should always be in lowercase, wxCode/component/MYCOMPONENT_NAME -->
    <set var="COMP_NAME">CentroSalud</set>


    <!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <!-- Library file
settings                                             -->
    <!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

    <!-- COMP_SRC lists the component's sources with path relative to
../src -->
    <set var="COMP_SRC">
        ../src/PrincipalFrm.cpp
        ../src/PrincipalFrmApp.cpp
        ../src/MaestroFrm.cpp
        ../src/MaestroAnalistas.cpp
        ../src/MaestroPacientes.cpp
        ../src/AnalistasListCtrl.cpp
        ../src/PacientesListCtrl.cpp
        ../src/CajaPanel.cpp
        ../src/CajaListCtrl.cpp
    </set>
    <!-- COMP_HDR lists the component's headers with path relative to
../include -->
    <set var="COMP_HDR">
        ../include/PrincipalFrm.h
        ../include/PrincipalFrmApp.h
        ../include/MaestroFrm.h
        ../include/MaestroAnalistas.h
        ../include/MaestroPacientes.h
        ../include/AnalistasListCtrl.h
        ../include/PacientesListCtrl.h
        ../include/CajaPanel.h
        ../include/CajaListCtrl.h
    </set>

    <!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <!-- Include the wxCode bakefile after defining the COMP_XXXX
vars...  -->
    <include file="$(WXCODE_BAKEFILEDIR)/wxcode.bkl"/>


    <exe id="CentroSalud" template="compsample">
        <res-include>../src</res-include>
        <win32-res>../src/CentroSalud.rc</win32-res>

        <sources>$(COMP_SRC)</sources>
        <headers>$(COMP_HDR)</headers>


        <wx-lib>xml</wx-lib>
        <wx-lib>core</wx-lib>
        <wx-lib>base</wx-lib> <!-- base must be last wx-lib -->
    </exe>

 </makefile>

I might be missing something, but it works ok with the other formats.

Regards, Matías

        

        
                
__________________________________________________ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to