Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up various projects, allow targeting client or server
- Loading branch information
Showing
13 changed files
with
1,595 additions
and
1,081 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<CodeBlocks_project_file> | ||
<FileVersion major="1" minor="6" /> | ||
<Project> | ||
<Option title="Client" /> | ||
<Option makefile="SConstruct" /> | ||
<Option makefile_is_custom="1" /> | ||
<Option pch_mode="2" /> | ||
<Option compiler="gcc" /> | ||
<Option extended_obj_names="1" /> | ||
<MakeCommands> | ||
<Build command="scons -Q -f $makefile force32=0 debug=0 no_sql=1 project=cgame,ui tools=default" /> | ||
<CompileFile command='echo "ERROR: Compilation of single files is disabled, use build instead."; return 1' /> | ||
<Clean command="scons -Qc -f $makefile force32=0 debug=0 no_sql=1 project=cgame,ui tools=default" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="scons -Q -f $makefile force32=0 debug=0 no_sql=1 project=cgame,ui tools=default" /> | ||
<SilentBuild command="scons -Q -f $makefile force32=0 debug=0 no_sql=1 project=cgame,ui tools=default > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
<Build> | ||
<Target title="Debug"> | ||
<Option output="openjk" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="0" /> | ||
<Option working_dir="./" /> | ||
<Option object_output="build/Debug/" /> | ||
<Option type="3" /> | ||
<Option compiler="gcc" /> | ||
<MakeCommands> | ||
<Build command="scons -Q -f $makefile force32=0 debug=1 no_sql=1 project=cgame,ui tools=default" /> | ||
<CompileFile command='echo "ERROR: Compilation of single files is disabled, use build instead."; return 1' /> | ||
<Clean command="scons -Qc -f $makefile force32=0 debug=1 no_sql=1 project=cgame,ui tools=default" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="scons -Q -f $makefile force32=0 debug=1 no_sql=1 project=cgame,ui tools=default" /> | ||
<SilentBuild command="scons -Q -f $makefile force32=0 debug=1 no_sql=1 project=cgame,ui tools=default > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="Debug-32"> | ||
<Option output="openjk" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="0" /> | ||
<Option working_dir="./" /> | ||
<Option type="3" /> | ||
<Option compiler="gcc" /> | ||
<MakeCommands> | ||
<Build command="scons -Q -f $makefile force32=1 debug=1 no_sql=1 project=cgame,ui tools=default" /> | ||
<CompileFile command='echo "ERROR: Compilation of single files is disabled, use build instead."; return 1' /> | ||
<Clean command="scons -Qc -f $makefile force32=1 debug=1 no_sql=1 project=cgame,ui tools=default" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="scons -Q -f $makefile force32=1 debug=1 no_sql=1 project=cgame,ui tools=default" /> | ||
<SilentBuild command="scons -Q -f $makefile force32=1 debug=1 no_sql=1 project=cgame,ui tools=default > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="Optimised Debug"> | ||
<Option output="openjk" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="0" /> | ||
<Option working_dir="./" /> | ||
<Option type="3" /> | ||
<Option compiler="gcc" /> | ||
<MakeCommands> | ||
<Build command="scons -Q -f $makefile force32=0 debug=2 no_sql=1 project=cgame,ui tools=default" /> | ||
<CompileFile command='echo "ERROR: Compilation of single files is disabled, use build instead."; return 1' /> | ||
<Clean command="scons -Qc -f $makefile force32=0 debug=2 no_sql=1 project=cgame,ui tools=default" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="scons -Q -f $makefile force32=0 debug=2 no_sql=1 project=cgame,ui tools=default" /> | ||
<SilentBuild command="scons -Q -f $makefile force32=0 debug=2 no_sql=1 project=cgame,ui tools=default > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="Optimised Debug-32"> | ||
<Option output="openjk" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="0" /> | ||
<Option type="3" /> | ||
<Option compiler="gcc" /> | ||
<MakeCommands> | ||
<Build command="scons -Q -f $makefile force32=1 debug=1 no_sql=1 project=cgame,ui tools=default" /> | ||
<CompileFile command='echo "ERROR: Compilation of single files is disabled, use build instead."; return 1' /> | ||
<Clean command="scons -Qc -f $makefile force32=1 debug=1 no_sql=1 project=cgame,ui tools=default" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="scons -Q -f $makefile force32=1 debug=1 no_sql=1 project=cgame,ui tools=default" /> | ||
<SilentBuild command="scons -Q -f $makefile force32=1 debug=1 no_sql=1 project=cgame,ui tools=default > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="Release"> | ||
<Option output="openjk" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="0" /> | ||
<Option working_dir="./" /> | ||
<Option object_output="build/Release/" /> | ||
<Option type="3" /> | ||
<Option compiler="gcc" /> | ||
<MakeCommands> | ||
<Build command="scons -Q -f $makefile force32=0 debug=0 no_sql=1 project=cgame,ui tools=default" /> | ||
<CompileFile command='echo "ERROR: Compilation of single files is disabled, use build instead."; return 1' /> | ||
<Clean command="scons -Qc -f $makefile force32=0 debug=0 no_sql=1 project=cgame,ui tools=default" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="scons -Q -f $makefile force32=0 debug=0 no_sql=1 project=cgame,ui tools=default" /> | ||
<SilentBuild command="scons -Q -f $makefile force32=0 debug=0 no_sql=1 project=cgame,ui tools=default > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
<Target title="Release-32"> | ||
<Option output="openjk" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="0" extension_auto="0" /> | ||
<Option working_dir="./" /> | ||
<Option type="3" /> | ||
<Option compiler="gcc" /> | ||
<MakeCommands> | ||
<Build command="scons -Q -f $makefile force32=1 debug=0 no_sql=1 project=cgame,ui tools=default" /> | ||
<CompileFile command='echo "ERROR: Compilation of single files is disabled, use build instead."; return 1' /> | ||
<Clean command="scons -Qc -f $makefile force32=1 debug=0 no_sql=1 project=cgame,ui tools=default" /> | ||
<DistClean command="$make -f $makefile distclean$target" /> | ||
<AskRebuildNeeded command="scons -Q -f $makefile force32=1 debug=0 no_sql=1 project=cgame,ui tools=default" /> | ||
<SilentBuild command="scons -Q -f $makefile force32=1 debug=0 no_sql=1 project=cgame,ui tools=default > $(CMD_NULL)" /> | ||
</MakeCommands> | ||
</Target> | ||
</Build> | ||
<Extensions> | ||
<code_completion /> | ||
<envvars /> | ||
<debugger /> | ||
<lib_finder disable_auto="1" /> | ||
</Extensions> | ||
</Project> | ||
</CodeBlocks_project_file> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<CodeBlocks_workspace_file> | ||
<Workspace title="JA++"> | ||
<Project filename="codeblocks-client.cbp" /> | ||
<Project filename="codeblocks-server.cbp" /> | ||
</Workspace> | ||
</CodeBlocks_workspace_file> |
Oops, something went wrong.