DXGL r28 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r27‎ | r28 | r29 >
Date:16:47, 18 December 2011
Author:admin
Status:new
Tags:
Comment:
Update Code::Blocks projects and add common
Modified paths:
  • /cfgmgr/cfgmgr.cbp (modified) (history)
  • /cfgmgr/cfgmgr.depend (modified) (history)
  • /cfgmgr/cfgmgr.layout (added) (history)
  • /common/common.cbp (added) (history)
  • /common/common.layout (added) (history)
  • /dxgl.workspace (modified) (history)

Diff [purge]

Index: cfgmgr/cfgmgr.cbp
@@ -33,10 +33,45 @@
3434 <Add option="-s" />
3535 </Linker>
3636 </Target>
 37+ <Target title="Unicode Debug">
 38+ <Option output="libcfgmgr" prefix_auto="1" extension_auto="1" />
 39+ <Option working_dir="" />
 40+ <Option object_output="obj\Unicode Debug\" />
 41+ <Option type="2" />
 42+ <Option compiler="gcc" />
 43+ <Option createDefFile="1" />
 44+ <Compiler>
 45+ <Add option="-Wall" />
 46+ <Add option="-g" />
 47+ <Add option="-DUNICODE" />
 48+ <Add option="-D_UNICODE" />
 49+ </Compiler>
 50+ </Target>
 51+ <Target title="Unicode Release">
 52+ <Option output="libcfgmgr" prefix_auto="1" extension_auto="1" />
 53+ <Option working_dir="" />
 54+ <Option object_output="obj\Unicode Release\" />
 55+ <Option type="2" />
 56+ <Option compiler="gcc" />
 57+ <Option createDefFile="1" />
 58+ <Compiler>
 59+ <Add option="-O2" />
 60+ <Add option="-Wall" />
 61+ <Add option="-DUNICODE" />
 62+ <Add option="-D_UNICODE" />
 63+ </Compiler>
 64+ <Linker>
 65+ <Add option="-s" />
 66+ </Linker>
 67+ </Target>
3768 </Build>
38 - <Unit filename="main.c">
39 - <Option compilerVar="CC" />
40 - </Unit>
 69+ <Unit filename="ReadMe.txt" />
 70+ <Unit filename="cfgmgr.cpp" />
 71+ <Unit filename="cfgmgr.h" />
 72+ <Unit filename="crc32.cpp" />
 73+ <Unit filename="crc32.h" />
 74+ <Unit filename="stdafx.cpp" />
 75+ <Unit filename="stdafx.h" />
4176 <Extensions>
4277 <code_completion />
4378 <envvars />
Index: cfgmgr/cfgmgr.depend
@@ -1,25 +1 @@
22 # depslib dependency file v1.0
3 -1324171697 source:c:\programming\projects\dxgl\cfgmgr\crc32.cpp
4 - "stdafx.h"
5 - <stdio.h>
6 - <stdlib.h>
7 -
8 -1324226084 c:\programming\projects\dxgl\cfgmgr\stdafx.h
9 - <stdlib.h>
10 - <cstdio>
11 - <Windows.h>
12 - <string>
13 -
14 -1324171697 source:c:\programming\projects\dxgl\cfgmgr\stdafx.cpp
15 - "stdafx.h"
16 -
17 -1324226069 source:c:\programming\projects\dxgl\cfgmgr\cfgmgr.cpp
18 - "stdafx.h"
19 - "crc32.h"
20 - "cfgmgr.h"
21 - <tchar.h>
22 -
23 -1324171697 c:\programming\projects\dxgl\cfgmgr\crc32.h
24 -
25 -1324171697 c:\programming\projects\dxgl\cfgmgr\cfgmgr.h
26 -
Index: cfgmgr/cfgmgr.layout
@@ -0,0 +1,10 @@
 2+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 3+<CodeBlocks_layout_file>
 4+ <ActiveTarget name="Unicode Debug" />
 5+ <File name="cfgmgr.cpp" open="0" top="0" tabpos="0">
 6+ <Cursor position="7397" topLine="210" />
 7+ </File>
 8+ <File name="stdafx.h" open="0" top="0" tabpos="0">
 9+ <Cursor position="972" topLine="0" />
 10+ </File>
 11+</CodeBlocks_layout_file>
Index: common/common.cbp
@@ -0,0 +1,76 @@
 2+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 3+<CodeBlocks_project_file>
 4+ <FileVersion major="1" minor="6" />
 5+ <Project>
 6+ <Option title="common" />
 7+ <Option pch_mode="2" />
 8+ <Option compiler="gcc" />
 9+ <Build>
 10+ <Target title="Debug">
 11+ <Option output="bin\Debug\common" prefix_auto="1" extension_auto="1" />
 12+ <Option object_output="obj\Debug\" />
 13+ <Option type="1" />
 14+ <Option compiler="gcc" />
 15+ <Compiler>
 16+ <Add option="-g" />
 17+ </Compiler>
 18+ </Target>
 19+ <Target title="Release">
 20+ <Option output="bin\Release\common" prefix_auto="1" extension_auto="1" />
 21+ <Option object_output="obj\Release\" />
 22+ <Option type="1" />
 23+ <Option compiler="gcc" />
 24+ <Compiler>
 25+ <Add option="-O2" />
 26+ </Compiler>
 27+ <Linker>
 28+ <Add option="-s" />
 29+ </Linker>
 30+ </Target>
 31+ <Target title="Unicode Debug">
 32+ <Option output="bin\Debug\common" prefix_auto="1" extension_auto="1" />
 33+ <Option object_output="obj\Unicode Debug\" />
 34+ <Option type="1" />
 35+ <Option compiler="gcc" />
 36+ <Compiler>
 37+ <Add option="-g" />
 38+ <Add option="-DUNICODE" />
 39+ <Add option="-D_UNICODE" />
 40+ </Compiler>
 41+ </Target>
 42+ <Target title="Unicode Release">
 43+ <Option output="bin\Release\common" prefix_auto="1" extension_auto="1" />
 44+ <Option object_output="obj\Unicode Release\" />
 45+ <Option type="1" />
 46+ <Option compiler="gcc" />
 47+ <Compiler>
 48+ <Add option="-O2" />
 49+ <Add option="-DUNICODE" />
 50+ <Add option="-D_UNICODE" />
 51+ </Compiler>
 52+ <Linker>
 53+ <Add option="-s" />
 54+ </Linker>
 55+ </Target>
 56+ </Build>
 57+ <Compiler>
 58+ <Add option="-Wall" />
 59+ </Compiler>
 60+ <Unit filename="dxgl.ico" />
 61+ <Unit filename="dxgl.png" />
 62+ <Unit filename="dxgl48.ico" />
 63+ <Unit filename="dxglicon.svg" />
 64+ <Unit filename="dxglinv.bmp" />
 65+ <Unit filename="dxglinv64.bmp" />
 66+ <Unit filename="dxglsm.ico" />
 67+ <Unit filename="star.ico" />
 68+ <Unit filename="version.h" />
 69+ <Unit filename="version.nsh" />
 70+ <Extensions>
 71+ <code_completion />
 72+ <envvars />
 73+ <debugger />
 74+ <lib_finder disable_auto="1" />
 75+ </Extensions>
 76+ </Project>
 77+</CodeBlocks_project_file>
Index: common/common.layout
@@ -0,0 +1,4 @@
 2+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 3+<CodeBlocks_layout_file>
 4+ <ActiveTarget name="Debug" />
 5+</CodeBlocks_layout_file>
Index: dxgl.workspace
@@ -1,4 +1,7 @@
22 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
33 <CodeBlocks_workspace_file>
4 - <Workspace title="DXGL" />
 4+ <Workspace title="DXGL">
 5+ <Project filename="cfgmgr/cfgmgr.cbp" />
 6+ <Project filename="common/common.cbp" active="1" />
 7+ </Workspace>
58 </CodeBlocks_workspace_file>