Author Topic: updated wxwidgets.cbp  (Read 3962 times)

Offline jmccay

  • Almost regular
  • **
  • Posts: 202
updated wxwidgets.cbp
« on: March 09, 2006, 03:24:35 am »
   I made a change to the wxwidgets.cbp file to allow a simple change between Unicode & ANSI if CFG was set to u.
Code
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
    <FileVersion major="1" minor="2" />
    <Project>
        <Option title="wxWidgets application" />
        <Option pch_mode="0" />
        <Option compiler="0" />
        <Build>
            <Target title="default">
                <Option output="wxwidgets.exe" />
                <Option type="0" />
                <Option compiler="0" />
                <Option includeInTargetAll="1" />
                <Option projectResourceIncludeDirsRelation="0" />
            </Target>
            <Environment>
                <Variable name="WX_CFG" value="" />
            </Environment>
        </Build>
        <Compiler>
            <Add option="-pipe" />
            <Add option="-mthreads" />
            <Add option="-Winvalid-pch" />
            <Add option='-include &quot;wx_pch.h&quot;' />
            <Add option="-D__GNUWIN32__" />
            <Add option="-D__WXMSW__" />
            <Add option="-DWXUSINGDLL" />
            <Add option="-DUSE_PCH" />
            <Add directory="$(#WX.include)" />
            <Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)\msw$(WX_CFG)" />
            <Add directory="$(#WX)\contrib\include" />
        </Compiler>
        <ResourceCompiler>
            <Add directory="$(#WX.include)" />
        </ResourceCompiler>
        <Linker>
            <Add library="wxmsw26" />
            <Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)" />
            <Add directory="$(#WX.lib)" />
        </Linker>
        <Unit filename="wx_pch.h">
            <Option compilerVar="CPP" />
            <Option link="0" />
            <Option weight="0" />
            <Option target="default" />
        </Unit>
    </Project>
</CodeBlocks_project_file>

Unfortunately, I don't know where the same info is stored for the wxSmith wizzard.  Hope this helps.
jmccay
OS: WinXP, Win98 SE, & sometimes Linux

a little light reading from the wxWidgets 2.6.2 readme: A detailed 2000-page reference manual is supplied in HTML, PDF and Windows Help form: see the docs hierarchy.