From: Francesco <fr...@us...> - 2005-06-12 21:31:48
|
Update of /cvsroot/wxlua/wxLua/modules/build/bakefiles In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21113/modules/build/bakefiles Modified Files: Bakefiles.bkgen modules.bkl Added Files: sources.bkl Log Message: Added bakefile build system Index: Bakefiles.bkgen =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/build/bakefiles/Bakefiles.bkgen,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Bakefiles.bkgen 12 Jun 2005 18:29:20 -0000 1.1 --- Bakefiles.bkgen 12 Jun 2005 21:31:38 -0000 1.2 *************** *** 13,17 **** <!-- List of output formats to generate: --> <add-formats> ! msvc<!--autoconf,borland,dmars,mingw,msvc,msvc6prj,watcom,cbuilderx,cbx_unix,gnu --> </add-formats> --- 13,17 ---- <!-- List of output formats to generate: --> <add-formats> ! msvc,autoconf,borland,dmars,mingw,msvc6prj,watcom,cbuilderx,cbx_unix,gnu </add-formats> --- NEW FILE: sources.bkl --- <?xml version="1.0" ?> <makefile> <set var="LUA_SRC"> lua/src/lapi.c lua/src/lcode.c lua/src/ldebug.c lua/src/ldo.c lua/src/ldump.c lua/src/lfunc.c lua/src/lgc.c lua/src/llex.c lua/src/lmem.c lua/src/lobject.c lua/src/lopcodes.c lua/src/lparser.c lua/src/lstate.c lua/src/lstring.c lua/src/ltable.c lua/src/ltests.c lua/src/ltm.c lua/src/lundump.c lua/src/lvm.c lua/src/lzio.c </set> <set var="LUA_HDR"> lua/include/lauxlib.h lua/include/lua.h lua/include/lualib.h lua/include/luathread.h </set> </makefile> Index: modules.bkl =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/build/bakefiles/modules.bkl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** modules.bkl 12 Jun 2005 18:29:20 -0000 1.1 --- modules.bkl 12 Jun 2005 21:31:38 -0000 1.2 *************** *** 41,70 **** <!-- the compilation in a subfolder of BUILD --> <if cond="FORMAT!='autoconf'"><set var="BUILDDIR">$(FORMAT)$(WXLUA_LIBPOSTFIX)</set></if> - - <!-- Creates the following custom build rule for MSVC6PRJ file: - copies $(WXLUA_BASEDIR)\include\msw\$(value).h into - $(WXLUA_BASEDIR)\include\$(value).h - NOTE: this tag must be used before the <sources> tag if you want that the configuration - file will be created before any other source file is compiled... --> - <define-tag name="msvc-copy-setup-h" rules="dll,lib,action"> - <if cond="FORMAT=='msvc6prj'"> - <set var="__hfilename">$(value)</set> - <set var="__hfile">$(value).h</set> - <set var="__updir">..</set> - <set var="__updir_underscored">__</set> - <set var="__destdir">..\..\..</set> - - <headers>..\include\msw\$(__hfile)</headers> - - <set var="_custom_build_files" append="1">$(__updir)\include\msw\$(__hfile)</set> - <set var="_custom_build_$(__updir_underscored)_include_msw_$(__hfilename)_h"> - Creating the configuration file $(__updir)\include\$(__hfile) from $(__updir)\include\msw\$(__hfile) - InputPath=$(__updir)\include\msw\$(__hfile) - "$(__updir)\include\$(__hfile)" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)" - $(TAB)copy "$(DOLLAR)(InputPath)" $(__destdir)\include\$(__hfile) - </set> - </if> - </define-tag> --- 41,45 ---- *************** *** 72,80 **** <!-- --> ! <!-- The list of wxLua OPTIONS --> <!-- --> - - <!-- third-party libs options --> - <include file="../../../thirdparty/build/bakefiles/options.bkl"/> <!-- modules-specific options --> --- 47,52 ---- <!-- --> ! <!-- The list of wxLua OPTIONS --> <!-- --> <!-- modules-specific options --> *************** *** 89,111 **** <!-- --> ! <template id="a2d_lib" template="wxart2d-lib"> <dirname>$(WXLUA_BASEDIR)$(DIRSEP)$(WXLUA_LIBOUTPUT_FOLDER)</dirname> - - <thirdparty-include-paths/> - - <!-- IDEs are less flexible so we use a lot of wxART2D_USE_XXX defines and we avoid - to use a art2dsetup.h file which we use instead for win32 command-line makefiles --> - <if cond="TARGETING_IDE=='1'"> - <ide-thirdparty-defines/> - <ide-modules-defines/> - </if> </template> ! <template id="a2d_dll" template="wxart2d"> <dirname>$(WXLUA_BASEDIR)$(DIRSEP)$(WXLUA_DLLOUTPUT_FOLDER)</dirname> - <!-- <cppflags>$(SHARED_DEFINES)</cppflags> --> - - <thirdparty-include-paths/> - <thirdparty-lib-paths/> <!-- The DLL version --> --- 61,70 ---- <!-- --> ! <template id="wxlua_lib" template="wxlua-lib"> <dirname>$(WXLUA_BASEDIR)$(DIRSEP)$(WXLUA_LIBOUTPUT_FOLDER)</dirname> </template> ! <template id="wxlua_dll" template="wxlua"> <dirname>$(WXLUA_BASEDIR)$(DIRSEP)$(WXLUA_DLLOUTPUT_FOLDER)</dirname> <!-- The DLL version --> *************** *** 115,131 **** <!-- Libraries must be put in the right order ! --> ! <a2d-req-libs/> ! <wx-lib>adv</wx-lib> ! <wx-lib>xml</wx-lib> <!-- in case we're using the XML layout load/save system --> ! <wx-lib>core</wx-lib> ! <wx-lib>base</wx-lib> ! </template> ! ! <template id="a2d_sample" template="wxart2d"> ! <thirdparty-include-paths/> ! <thirdparty-lib-paths/> ! ! <!-- Libraries must be put in the right order ! --> ! <a2d-req-libs/> <wx-lib>adv</wx-lib> <wx-lib>xml</wx-lib> <!-- in case we're using the XML layout load/save system --> --- 74,78 ---- <!-- Libraries must be put in the right order ! --> ! <wxlua-req-libs/> <wx-lib>adv</wx-lib> <wx-lib>xml</wx-lib> <!-- in case we're using the XML layout load/save system --> *************** *** 135,245 **** - - - <!-- --> - <!-- NEW RULES --> - <!-- with these ones, each module/sample target takes few lines only --> - <!-- --> - - <define-rule name="a2d_lib" extends="lib"> - <template> - <set var="__modname"/> - </template> - <define-tag name="module-name"> - <set var="__modname">$(value)</set> - <set var="__modnamelow">$(__modname.lower())</set> - - <set var="__modsrc">$(mk.evalExpr('$(' + __modnamelow + '_src)'))</set> - <set var="__modsrc" append="1">$(mk.evalExpr('$(' + __modnamelow + '_specific_src)'))</set> - <set var="__modhdr">$(mk.evalExpr('$(' + __modnamelow + '_hdr)'))</set> - <!-- <set var="__modhdr" append="1">$(mk.evalExpr('$(' + __modnamelow + '_specific_hdr)'))</set> --> - - <libname>$(__modnamelow)</libname> - <sources>$(__modsrc)</sources> - <headers>$(__modhdr)</headers> - - <!-- to make MSVC6PRJ output look better... --> - <msvc-file-group>$(__modname) sources:*.cpp</msvc-file-group> - <msvc-file-group>$(__modname) headers:*.h</msvc-file-group> - - <if cond="FORMAT!='autoconf'"> - <precomp-headers>on</precomp-headers> - <precomp-headers-header>a2dprec</precomp-headers-header> - <precomp-headers-file>a2dprec</precomp-headers-file> - </if> - - </define-tag> - </define-rule> - - <define-rule name="a2d_dll" extends="dll"> - <template> - <set var="__modname"/> - </template> - <define-tag name="module-name"> - <set var="__modname">$(value)</set> - <set var="__modnamelow">$(__modname.lower())</set> - - <set var="__modsrc">$(mk.evalExpr('$(' + __modnamelow + '_src)'))</set> - <set var="__modsrc" append="1">$(mk.evalExpr('$(' + __modnamelow + '_specific_src)'))</set> - <set var="__modhdr">$(mk.evalExpr('$(' + __modnamelow + '_hdr)'))</set> - <!-- <set var="__modhdr" append="1">$(mk.evalExpr('$(' + __modnamelow + '_specific_hdr)'))</set> --> - - <libname>$(__modnamelow)</libname> - <sources>$(__modsrc)</sources> - <headers>$(__modhdr)</headers> - - <!-- to make MSVC6PRJ output look better... --> - <msvc-file-group>$(__modname) sources:*.cpp</msvc-file-group> - <msvc-file-group>$(__modname) headers:*.h</msvc-file-group> - - <!-- now, shared stuff --> - <define>A2D$(__modname)MAKINGDLL</define> - </define-tag> - </define-rule> - - <define-rule name="a2d_sample" extends="exe"> - <template> - <set var="__modowner"/> - <set var="__sampname"/> - </template> - - <define-tag name="name"> - <set var="__sampname">$(value)</set> - <exename>$(__sampname)</exename> - <sources>$(__modowner)/samples/$(__sampname)/$(__sampname).cpp</sources> - <headers>$(__modowner)/samples/$(__sampname)/$(__sampname).h</headers> - <dirname>$(WXLUA_MODULEDIR)$(DIRSEP)$(__modowner)/samples/$(__sampname)</dirname> - </define-tag> - <define-tag name="module-dep"> - <if cond="TARGETING_IDE=='1'"> - <depends>$(value.lower())_lib</depends> - </if> - <a2d-lib>$(value.lower())</a2d-lib> - </define-tag> - <define-tag name="owner"> - <set var="__modowner">$(value.lower())</set> - - <!-- we always depend both from our owner and from GENERAL modules --> - <module-dep>$(value)</module-dep> - <module-dep>GENERAL</module-dep> - - <!-- our name always matches the ID of this target... --> - <if cond="FORMAT=='msvc6prj'"> - - <!-- except with MSVC6PRJ: in this case we need to make it begin with 'samp_' - so to make easier for the user to recognize the sample projects and the - module projects --> - <name>$(id)</name> - <set var="id">samp_$(__modowner)_$(id)</set> - </if> - <if cond="FORMAT!='msvc6prj'"> - <name>$(id)</name> - </if> - </define-tag> - <define-tag name="thirdyparty-dep"> - </define-tag> - </define-rule> - - --- 82,85 ---- *************** *** 259,326 **** <dir>$(WXLUA_BASEDIR)$(DIRSEP)$(WXLUA_DLLOUTPUT_FOLDER)</dir> </mkdir> - - <!-- the file where all wxART2D_USE_XXXX defined symbols will be written --> - <set var="SETUP_FILENAME">art2dsetup.h</set> - <set var="SETUP_FILE">$(WXLUA_BASEDIR)$(DIRSEP)include$(DIRSEP)$(SETUP_FILENAME)</set> - - <!-- a little helper --> - <set var="CMD_PREFIX">@</set> - - <!-- a little shortcut for the target below --> - <define-tag name="setupdef" rules="action"> - - <!-- VERY IMPORTANT: we cannot use the '#' symbol in a makefile since it's interpreted - as comment marker, even when quoted ! - So, we cannot use echo or any other program to write #define commands; - instead we write 'define wxART2D_USE_XXXXX 1/0' and then we add the - '#' symbol using a batch file (which allows a safe use of '#' symbols). --> - <command>$(CMD_PREFIX)echo define wxART2D_USE_$(value)$(TAB)$(mk.evalExpr('$(WXLUA_USE_' + value + ')')) >>$(SETUP_FILE)</command> - </define-tag> - - - <!-- when running this target, we are sure we are on win32 --> - <action id="setup"> - <dependency-of>all</dependency-of> - <command>@$(RM) $(SETUP_FILE) >NUL</command> - - <!-- tell the user what we are doing --> - <command>$(CMD_PREFIX)echo ==============================================================</command> - <command>$(CMD_PREFIX)echo Writing the new $(SETUP_FILE) file...</command> - <command>$(CMD_PREFIX)echo ==============================================================</command> - <!-- write a small intro in the setup file --> - <command>$(CMD_PREFIX)echo // $(SETUP_FILENAME) >>$(SETUP_FILE)</command> - <command>$(CMD_PREFIX)echo // This is an automatically generated file... >>$(SETUP_FILE)</command> - <command>$(CMD_PREFIX)echo // Do not modify; all changes will be overwritten ! >>$(SETUP_FILE)</command> - - <!-- now, dump our options values so all wxLua code can access them --> - <setupdef>AGGDRAWER</setupdef> - <setupdef>ARTBASE</setupdef> - <setupdef>CANEXTOBJ</setupdef> - <setupdef>CANVAS</setupdef> - <setupdef>CURVES</setupdef> - <setupdef>DOCVIEW</setupdef> - <setupdef>EDITOR</setupdef> - <setupdef>GDSIO</setupdef> - <setupdef>KBOOL</setupdef> - <setupdef>KEYIO</setupdef> - <setupdef>LUAWRAPS</setupdef> - <setupdef>STSL</setupdef> - <setupdef>SVGIO</setupdef> - <setupdef>XMLPARSE</setupdef> - - <!-- do not try to use echo to write empty lines: this is not safe & portable ! --> - <command>$(CMD_PREFIX)echo // >>$(SETUP_FILE)</command> - <command>$(CMD_PREFIX)echo // external dependencies... >>$(SETUP_FILE)</command> - <setupdef>CVGIO</setupdef> - <setupdef>FREETYPE</setupdef> - <setupdef>EXPAT</setupdef> - <setupdef>LUA</setupdef> - <setupdef>AGG</setupdef> - - <!-- run this batch file to replace the 'define' strings with '#define' strings - in the just written file --> - <command>CALL makesetup.bat $(SETUP_FILENAME)</command> - </action> </if> --- 99,103 ---- *************** *** 336,341 **** <set var="SRCDIR">$(WXLUA_MODULEDIR)</set> ! <wxlua_lib id="" template="a2d_lib" cond="WX_SHARED=='0' and WXLUA_USE_XMLPARSE=='1'"><module-name>XMLPARSE</module-name></a2d_lib> ! <wxlua_dll id="aggdrawer_dll" template="a2d_dll" cond="WX_SHARED=='1' and WXLUA_USE_AGGDRAWER=='1'"><module-name>AGGDRAWER</module-name></a2d_dll> --- 113,125 ---- <set var="SRCDIR">$(WXLUA_MODULEDIR)</set> ! <!-- lua must always be built inconditionally in static mode --> ! <lib id="lua" template="wxlua_lib"> ! <libname>lua</libname> ! <sources>$(LUA_SRC)</sources> ! <headers>$(LUA_HDR)</headers> ! </lib> ! <lib id="wxlua" template="wxlua_lib" cond="WX_SHARED=='0'"> ! ! </lib> *************** *** 346,755 **** gets a good idea about what is a MODULE and what is a SAMPLE (see the a2d_sample rule) --> <set var="MSVC6PRJ_MERGED_TARGETS"> ! mod_aggdrawer=aggdrawer_lib+aggdrawer_dll ! mod_artbase=artbase_lib+artbase_dll ! mod_canextobj=canextobj_lib+canextobj_dll ! mod_canvas=canvas_lib+canvas_dll ! mod_curves=curves_lib+curves_dll ! mod_docview=docview_lib+docview_dll ! mod_editor=editor_lib+editor_dll ! mod_gdsio=gdsio_lib+gdsio_dll ! mod_kbool=kbool_lib+kbool_dll ! mod_keyio=keyio_lib+keyio_dll ! mod_luawraps=luawraps_lib+luawraps_dll ! mod_stsl=stsl_lib+stsl_dll ! mod_svgio=svgio_lib+svgio_dll ! mod_xmlparse=xmlparse_lib+xmlparse_dll ! mod_general=general_lib+general_dll <!-- don't forget the GENERAL module --> </set> - - - <!-- --> - <!-- The list of wxLua SAMPLES --> - <!-- --> - - <!-- AGGDRAWER samples --> - - <a2d_sample id="directdrawagg" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_AGGDRAWER=='1'"> - <owner>AGGDRAWER</owner> - <module-dep>XMLPARSE</module-dep> - <module-dep>ARTBASE</module-dep> - </a2d_sample> - - <a2d_sample id="tutoagg" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_AGGDRAWER=='1'"> - <owner>AGGDRAWER</owner> - <module-dep>ARTBASE</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>EDITOR</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>SVGIO</module-dep> - </a2d_sample> - - <!-- ARTBASE samples --> - - <a2d_sample id="directdraw" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_ARTBASE=='1' and WXLUA_USE_XMLPARSE=='1'"> - <owner>ARTBASE</owner> - <module-dep>XMLPARSE</module-dep> - </a2d_sample> - - <a2d_sample id="drawtest" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_ARTBASE=='1' and WXLUA_USE_AGGDRAWER=='1'"> - <owner>ARTBASE</owner> - <module-dep>XMLPARSE</module-dep> - <module-dep>AGGDRAWER</module-dep> - </a2d_sample> - - <!-- CANVAS samples --> - - <a2d_sample id="boolop" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_CANVAS=='1'"> - <owner>CANVAS</owner> - <module-dep>KBOOL</module-dep> - <module-dep>ARTBASE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>SVGIO</module-dep> - </a2d_sample> - - <a2d_sample id="canmdi" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_CANVAS=='1'"> - <owner>CANVAS</owner> - <module-dep>ARTBASE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>SVGIO</module-dep> - </a2d_sample> - - <a2d_sample id="cansim" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_CANVAS=='1'"> - <owner>CANVAS</owner> - <module-dep>KBOOL</module-dep> - <module-dep>ARTBASE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>SVGIO</module-dep> - </a2d_sample> - - <a2d_sample id="simple" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_CANVAS=='1'"> - <owner>CANVAS</owner> - <module-dep>KBOOL</module-dep> - <module-dep>ARTBASE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>SVGIO</module-dep> - </a2d_sample> - - <a2d_sample id="split" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_CANVAS=='1'"> - <owner>CANVAS</owner> - <module-dep>KBOOL</module-dep> - <module-dep>ARTBASE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>SVGIO</module-dep> - </a2d_sample> - - <!-- CURVES samples --> - - <a2d_sample id="curtuto1" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_CURVES=='1'"> - <owner>CURVES</owner> - <module-dep>ARTBASE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>CANEXTOBJ</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>EDITOR</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>SVGIO</module-dep> - </a2d_sample> - - <!-- DOCVIEW samples --> - - <define-tag name="docview-specific" rules="a2d_sample"> - <include>$(WXLUA_MODULEDIR)/docview/samples/common</include> - <sources>docview/samples/common/doc.cpp docview/samples/common/view.cpp docview/samples/common/docdialog.cpp</sources> - <headers>docview/samples/common/doc.h docview/samples/common/view.h docview/samples/common/docdialog.h</headers> - </define-tag> - - <a2d_sample id="mdi" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> - <owner>DOCVIEW</owner> - <docview-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>DOCVIEW</module-dep> - </a2d_sample> - - <a2d_sample id="multiframe" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> - <owner>DOCVIEW</owner> - <docview-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>DOCVIEW</module-dep> - </a2d_sample> - - <a2d_sample id="multiwin" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> - <owner>DOCVIEW</owner> - <docview-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>DOCVIEW</module-dep> - </a2d_sample> - - <a2d_sample id="nonmanaged" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> - <owner>DOCVIEW</owner> - <docview-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>DOCVIEW</module-dep> - </a2d_sample> - - <a2d_sample id="singleframe" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> - <owner>DOCVIEW</owner> - <docview-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>DOCVIEW</module-dep> - </a2d_sample> - - <a2d_sample id="splitwin" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> - <owner>DOCVIEW</owner> - <docview-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>DOCVIEW</module-dep> - </a2d_sample> - - <a2d_sample id="tabframe" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> - <owner>DOCVIEW</owner> - <docview-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>DOCVIEW</module-dep> - </a2d_sample> - - <!-- EDITOR samples --> - - <define-tag name="editor-specific" rules="a2d_sample"> - <include>$(WXLUA_MODULEDIR)/editor/samples/common</include> - <sources>editor/samples/common/screen.cpp</sources> - <headers>editor/samples/common/screen.h</headers> - </define-tag> - - <a2d_sample id="editmdi" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> - <owner>EDITOR</owner> - <editor-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>CURVES</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>CANEXTOBJ</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>SVGIO</module-dep> - </a2d_sample> - - <a2d_sample id="single" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> - <owner>EDITOR</owner> - <editor-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>CURVES</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>SVGIO</module-dep> - <module-dep>CANEXTOBJ</module-dep> - </a2d_sample> - - <a2d_sample id="single2" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> - <owner>EDITOR</owner> - <editor-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>CURVES</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>SVGIO</module-dep> - <module-dep>CANEXTOBJ</module-dep> - </a2d_sample> - - <a2d_sample id="tuto" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> - <owner>EDITOR</owner> - <!-- <editor-specific/> DO NOT INCLUDE THIS - NOT REQUIRED BY THIS SAMPLE --> - <module-dep>ARTBASE</module-dep> - <module-dep>CURVES</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>SVGIO</module-dep> - <module-dep>CANEXTOBJ</module-dep> - </a2d_sample> - - <a2d_sample id="tuto3" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> - <owner>EDITOR</owner> - <editor-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>CURVES</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>SVGIO</module-dep> - <module-dep>CANEXTOBJ</module-dep> - </a2d_sample> - - <a2d_sample id="tuto4" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> - <owner>EDITOR</owner> - <editor-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>CURVES</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>SVGIO</module-dep> - <module-dep>CANEXTOBJ</module-dep> - <module-dep>CURVES</module-dep> - </a2d_sample> - - <a2d_sample id="vdrawm" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> - <owner>EDITOR</owner> - <editor-specific/> - <sources>editor/samples/vdrawm/view.cpp</sources> - <headers>editor/samples/vdrawm/view.h</headers> - <module-dep>ARTBASE</module-dep> - <module-dep>CURVES</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>CANEXTOBJ</module-dep> - <module-dep>SVGIO</module-dep> - <module-dep>GDSIO</module-dep> - <module-dep>AGGDRAWER</module-dep> - </a2d_sample> - - <a2d_sample id="vdraws" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> - <owner>EDITOR</owner> - <editor-specific/> - <module-dep>ARTBASE</module-dep> - <module-dep>CURVES</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>CANEXTOBJ</module-dep> - <module-dep>SVGIO</module-dep> - <module-dep>GDSIO</module-dep> - <module-dep>AGGDRAWER</module-dep> - </a2d_sample> - - <a2d_sample id="viewmul" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> - <owner>EDITOR</owner> - <editor-specific/> - <sources>editor/samples/viewmul/doc.cpp</sources> - <headers>editor/samples/viewmul/doc.h</headers> - <sources>editor/samples/viewmul/docv.cpp</sources> - <headers>editor/samples/viewmul/docv.h</headers> - <module-dep>ARTBASE</module-dep> - <module-dep>CURVES</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>CANEXTOBJ</module-dep> - <module-dep>SVGIO</module-dep> - </a2d_sample> - - <a2d_sample id="wires" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> - <owner>EDITOR</owner> - <editor-specific/> - <sources>editor/samples/wires/elements.cpp</sources> - <headers>editor/samples/wires/elements.h</headers> - <module-dep>ARTBASE</module-dep> - <module-dep>CURVES</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>CANEXTOBJ</module-dep> - <module-dep>SVGIO</module-dep> - </a2d_sample> - - <a2d_sample id="zoom" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> - <owner>EDITOR</owner> - <editor-specific/> - <module-dep>CURVES</module-dep> - <module-dep>ARTBASE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANEXTOBJ</module-dep> - <module-dep>SVGIO</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>XMLPARSE</module-dep> - </a2d_sample> - - <!-- KBOOL samples --> - - <a2d_sample id="boolonly" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_KBOOL=='1'"> - <owner>KBOOL</owner> - <module-dep>ARTBASE</module-dep> - <module-dep>DOCVIEW</module-dep> - </a2d_sample> - - <!-- STSL samples --> - - <a2d_sample id="stslcom" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_STSL=='1'"> - <owner>STSL</owner> - <sources>stsl/samples/stslcom/tedit.cpp</sources> - <headers>stsl/samples/stslcom/tedit.h</headers> - <sources>stsl/samples/stslcom/docv.cpp</sources> - <headers>stsl/samples/stslcom/docv.h</headers> - <module-dep>ARTBASE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - <module-dep>EDITOR</module-dep> - <module-dep>SVGIO</module-dep> - <module-dep>CANEXTOBJ</module-dep> - </a2d_sample> - - <a2d_sample id="stsltuto" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_STSL=='1'"> - <owner>STSL</owner> - <module-dep>ARTBASE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - </a2d_sample> - - <a2d_sample id="stsltuto2" template="a2d_sample" - cond="SAMPLES=='1' and WXLUA_USE_STSL=='1'"> - <owner>STSL</owner> - <module-dep>ARTBASE</module-dep> - <module-dep>DOCVIEW</module-dep> - <module-dep>CANVAS</module-dep> - <module-dep>XMLPARSE</module-dep> - </a2d_sample> - </makefile> --- 130,136 ---- gets a good idea about what is a MODULE and what is a SAMPLE (see the a2d_sample rule) --> <set var="MSVC6PRJ_MERGED_TARGETS"> ! </set> </makefile> |