view build/win32/build_environments/code_blocks/engine_template.xml @ 384:621b062e752d

Modified the code blocks project files to fit with the new build system. Code blocks now uses scons to build each of the configurations. The python configurations build properly but fail during link with a bunch of undefined references insides of the swig generated dll, not sure why. Also updated the win32-config.py so that it no longer relies on variables defined outside of itself, this was causing code blocks to not be able to build. Updated a couple of the batch scripts so they run properly.
author vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 20 Jan 2010 05:56:18 +0000
parents 5ab78cd39534
children 0a798d5c241a
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
	<FileVersion major="1" minor="6" />
	<Project>
		<Option title="fife" />
		<Option makefile="SConstruct" />
		<Option makefile_is_custom="1" />
		<Option pch_mode="2" />
		<Option compiler="msvc8" />
		<MakeCommands>
			<Build command="" />
			<CompileFile command="" />
			<Clean command="" />
			<DistClean command="" />
		</MakeCommands>
		<Build>
			<Target title="Debug_python">
				<Option output="fife.cbp" prefix_auto="1" extension_auto="0" />
				<Option object_output="obj\Debug\" />
				<Option type="3" />
				<Option compiler="msvc8" />
				<Option createDefFile="1" />
				<Compiler>
					<Add option="/Zi /D_DEBUG" />
					<Add option="/Zi" />
					<Add option="/D_DEBUG" />
				</Compiler>
				<Linker>
					<Add option="/DEBUG" />
				</Linker>
				<MakeCommands>
					<Build command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile --enable-debug install-python" />
					<CompileFile command="" />
					<Clean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c --enable-debug install-python" />
					<DistClean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c --enable-debug install-python" />
				</MakeCommands>
			</Target>
			<Target title="Release_python">
				<Option output="bin\Release\fife" prefix_auto="1" extension_auto="1" />
				<Option object_output="obj\Release\" />
				<Option type="3" />
				<Option compiler="msvc8" />
				<Option createDefFile="1" />
				<Option createStaticLib="1" />
				<Compiler>
					<Add option="/Ox" />
					<Add option="/DNDEBUG" />
				</Compiler>
				<MakeCommands>
					<Build command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile install-python" />
					<CompileFile command="" />
					<Clean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c install-python" />
					<DistClean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c install-python" />
				</MakeCommands>
			</Target>
			<Target title="Debug_static">
				<Option output="fife" prefix_auto="1" extension_auto="1" />
				<Option working_dir="" />
				<Option type="2" />
				<Option compiler="msvc8" />
				<Option createDefFile="1" />
				<MakeCommands>
					<Build command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile --enable-debug fife-static" />
					<CompileFile command="" />
					<Clean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c --enable-debug fife-static" />
					<DistClean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c --enable-debug fife-static" />
				</MakeCommands>
			</Target>
			<Target title="Debug_shared">
				<Option output="fife" prefix_auto="1" extension_auto="1" />
				<Option type="3" />
				<Option compiler="msvc8" />
				<Option createDefFile="1" />
				<Option createStaticLib="1" />
				<MakeCommands>
					<Build command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile --enable-debug fife-shared" />
					<CompileFile command="" />
					<Clean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c --enable-debug fife-shared" />
					<DistClean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c --enable-debug fife-shared" />
				</MakeCommands>
			</Target>
			<Target title="Release_static">
				<Option output="fife" prefix_auto="1" extension_auto="1" />
				<Option working_dir="" />
				<Option type="2" />
				<Option compiler="msvc8" />
				<Option createDefFile="1" />
				<MakeCommands>
					<Build command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile fife-static" />
					<CompileFile command="" />
					<Clean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c fife-static" />
					<DistClean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c fife-static" />
				</MakeCommands>
			</Target>
			<Target title="Release_shared">
				<Option output="fife" prefix_auto="1" extension_auto="1" />
				<Option type="3" />
				<Option compiler="msvc8" />
				<Option createDefFile="1" />
				<Option createStaticLib="1" />
				<MakeCommands>
					<Build command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile fife-shared" />
					<CompileFile command="" />
					<Clean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c fife-shared" />
					<DistClean command="python ../../applications/scons/scons.py -C ../../../../ -f $makefile -c fife-shared" />
				</MakeCommands>
			</Target>
		</Build>
		<Compiler>
			<Add option="/W3" />
		</Compiler>
__FILE_INSERTION_POINT__
		<Extensions>
			<code_completion />
			<debugger />
		</Extensions>
	</Project>
</CodeBlocks_project_file>