wxIFM added Codeblocks project and fix a small error

Do you like to promote your wxWidgets based application or component!? Post it here and let's see what the critics have to say. Also, if you found that ONE wx component the world needs to know about, put it here for future reference.
Post Reply
romeo9423
Experienced Solver
Experienced Solver
Posts: 72
Joined: Mon Nov 08, 2004 3:36 pm

wxIFM added Codeblocks project and fix a small error

Post by romeo9423 » Thu Dec 15, 2005 1:27 am

Hi,

for people working with CodeBlocks/mingw I made a project to compile wxIFM and sample application.
I have also added #include "wx/dcmemory.h" in definterface.cpp because I got a compiler error.

For people interested in compiling wxIFM with CodeBlocks
Save the file below as wxIFM.cbp and put it in the wxIDM root dir.

For now it only works with Static wxWidgets

<?xml version="1.0"?>
<!DOCTYPE CodeBlocks_project_file>
<CodeBlocks_project_file>
<FileVersion major="1" minor="1"/>
<Project>
<Option title="wxIFM"/>
<Option makefile="Makefile"/>
<Option makefile_is_custom="0"/>
<Option active_target="0"/>
<Option compiler="0"/>
<Build>
<Target title="Release Static">
<Option output="lib\gcc_lib\libwxmsw26_ifm.a"/>
<Option working_dir=""/>
<Option object_output=".objs"/>
<Option deps_output=".deps"/>
<Option type="2"/>
<Option compiler="0"/>
<Option projectResourceIncludeDirsRelation="2"/>
<Compiler>
<Add option="-O2"/>
</Compiler>
</Target>
<Target title="Debug Static">
<Option output="lib\gcc_lib\libwxmsw26d_ifm.a"/>
<Option working_dir=""/>
<Option object_output=".objs"/>
<Option deps_output=".deps"/>
<Option type="2"/>
<Option compiler="0"/>
<Option createDefFile="1"/>
<Option projectResourceIncludeDirsRelation="2"/>
<Compiler>
<Add option="-g"/>
</Compiler>
</Target>
<Target title="Release Dll">
<Option output="lib\gcc_dll\libwxmsw26_ifm.dll"/>
<Option working_dir="."/>
<Option object_output=".objs"/>
<Option deps_output=".deps"/>
<Option type="3"/>
<Option compiler="0"/>
<Option createDefFile="1"/>
<Option createStaticLib="1"/>
<Compiler>
<Add option="-O2"/>
<Add option="-DWXUSINGDLL"/>
<Add directory="$(WX_DIR)\include"/>
<Add directory="$(WX_DIR)\lib\gcc_dll$(WX_CFG)\msw"/>
<Add directory="$(WX_DIR)\contrib\include"/>
<Add directory=".\include"/>
<Add directory=".\src\ifm\xpm"/>
</Compiler>
<Linker>
<Add directory="$(WX_DIR)\lib\gcc_dll$(WX_CFG)"/>
</Linker>
</Target>
<Target title="Debug Dll">
<Option output="lib\gcc_dll\libwxmsw26d_ifm.dll"/>
<Option working_dir="."/>
<Option object_output=".objs"/>
<Option deps_output=".deps"/>
<Option type="3"/>
<Option compiler="0"/>
<Option createDefFile="1"/>
<Option createStaticLib="1"/>
<Compiler>
<Add option="-DWXUSINGDLL"/>
</Compiler>
</Target>
<Environment>
<Variable name="WX_DIR" value="D:\Logiciels\wxWidgets-2.6.2"/>
<Variable name="WX_CFG" value=""/>
</Environment>
</Build>
<Compiler>
<Add option="-pipe"/>
<Add option="-mthreads"/>
<Add option="-frtti"/>
<Add option="-fexceptions"/>
<Add option="-D__GNUWIN32__"/>
<Add option="-D__WXMSW__"/>
<Add directory="$(WX_DIR)\include"/>
<Add directory="$(WX_DIR)\lib\gcc_lib$(WX_CFG)\msw"/>
<Add directory="$(WX_DIR)\contrib\include"/>
<Add directory=".\include"/>
<Add directory=".\src\ifm\xpm"/>
</Compiler>
<ResourceCompiler>
<Add directory="$(WX_DIR)\include"/>
</ResourceCompiler>
<Linker>
<Add directory="$(WX_DIR)\lib\gcc_lib$(WX_CFG)"/>
</Linker>
<Unit filename="include\wx\ifm\definterface.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="include\wx\ifm\defplugin.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="include\wx\ifm\dragndrop.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="include\wx\ifm\events.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="include\wx\ifm\ifm.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="include\wx\ifm\ifmdefs.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="include\wx\ifm\manager.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="include\wx\ifm\plugin.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="include\wx\ifm\resize.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="src\ifm\definterface.cpp">
<Option compilerVar="CPP"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="src\ifm\defplugin.cpp">
<Option compilerVar="CPP"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="src\ifm\dragndrop.cpp">
<Option compilerVar="CPP"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="src\ifm\events.cpp">
<Option compilerVar="CPP"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="src\ifm\manager.cpp">
<Option compilerVar="CPP"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="src\ifm\plugin.cpp">
<Option compilerVar="CPP"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
<Unit filename="src\ifm\resize.cpp">
<Option compilerVar="CPP"/>
<Option target="Release Static"/>
<Option target="Debug Static"/>
<Option target="Release Dll"/>
</Unit>
</Project>
</CodeBlocks_project_file>

Post Reply