Added CodeLite stuff and that's it; let's see if this makes anything easier...

This commit is contained in:
Zaccari Silverman 2019-08-15 01:07:22 -04:00
parent 36999a2e21
commit 2f09dd8c91
4 changed files with 112 additions and 2 deletions

6
.gitignore vendored
View File

@ -1 +1,5 @@
build/
.codelite/
build/
run/
compile_commands.json
compile_flags.txt

View File

@ -54,6 +54,7 @@ void PresentMainDlog(){
//Changes the UI of the main dialog.
//This lets us keep one dialog box around and just change its guts.
//The only problem is that I have never gotten this to work, so...
void SwitchDITL(short int toDitlID){
_activeDITL = toDitlID;
@ -102,6 +103,8 @@ void HandleEvent(EventRecord *eventPtr){
switch (eventPtr->what){
case keyDown:
//No commands here yet...
break;
case autoKey:
eventChar = eventPtr->message & charCodeMask;
if ((eventPtr->modifiers & cmdKey) != 0) HandleMenuChoice(MenuKey(eventChar));
@ -211,7 +214,7 @@ void HandleInContent(EventRecord *eventPtr){
if ((eventPtr->modifiers & cmdKey) != 0)
DragWindow(window, eventPtr->where, &qd.screenBits.bounds);
else
else //For now, drag the window anyway.
DragWindow(window, eventPtr->where, &qd.screenBits.bounds);
}

85
MemeveyPro_m68k.project Normal file
View File

@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8"?>
<CodeLite_Project Name="MemeveyPro_m68k" Version="10.0.0" InternalType="">
<Plugins>
<Plugin Name="qmake">
<![CDATA[00010001N0011Basilisk II000000000000]]>
</Plugin>
</Plugins>
<VirtualDirectory Name="MemeveyPro-m68k">
<File Name="constants.h"/>
<File Name="main.c"/>
<File Name="MainApp.h"/>
<File Name="MainApp.c"/>
</VirtualDirectory>
<VirtualDirectory Name="build">
<VirtualDirectory Name="CMakeFiles">
<File Name="build/CMakeFiles/feature_tests.cxx"/>
<File Name="build/CMakeFiles/feature_tests.c"/>
<VirtualDirectory Name="3.14.5">
<VirtualDirectory Name="CompilerIdCXX">
<File Name="build/CMakeFiles/3.14.5/CompilerIdCXX/CMakeCXXCompilerId.cpp"/>
</VirtualDirectory>
<VirtualDirectory Name="CompilerIdC">
<File Name="build/CMakeFiles/3.14.5/CompilerIdC/CMakeCCompilerId.c"/>
</VirtualDirectory>
</VirtualDirectory>
</VirtualDirectory>
</VirtualDirectory>
<Description/>
<Dependencies/>
<Settings Type="Executable">
<GlobalSettings>
<Compiler Options="" C_Options="" Assembler="">
<IncludePath Value="."/>
</Compiler>
<Linker Options="">
<LibraryPath Value="."/>
</Linker>
<ResourceCompiler Options=""/>
</GlobalSettings>
<Configuration Name="Basilisk II" CompilerType="Cross GCC ( x86_64-redhat-linux )" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append">
<Compiler Options="-g -Wall" C_Options="" Assembler="" Required="yes" PreCompiledHeader="" PCHInCommandLine="no" PCHFlags="" PCHFlagsPolicy="0">
<IncludePath Value="."/>
</Compiler>
<Linker Options="-O0" Required="yes">
<LibraryPath Value="."/>
<LibraryPath Value="Debug"/>
</Linker>
<ResourceCompiler Options="" Required="no"/>
<General OutputFile="$(IntermediateDirectory)/$(ProjectName)" IntermediateDirectory="./build" Command="./build_and_run.sh" CommandArguments="MemeveyPro_m68k /0" UseSeparateDebugArgs="no" DebugArguments="" WorkingDirectory="/home/zac/Desktop/Retro68Folder/MemeveyPro-m68k/run" PauseExecWhenProcTerminates="yes" IsGUIProgram="no" IsEnabled="yes"/>
<BuildSystem Name="Default"/>
<Environment EnvVarSetName="&lt;Use Defaults&gt;" DbgSetName="&lt;Use Defaults&gt;">
<![CDATA[]]>
</Environment>
<Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath="" IsExtended="no">
<DebuggerSearchPaths/>
<PostConnectCommands/>
<StartupCommands/>
</Debugger>
<PreBuild/>
<PostBuild/>
<CustomBuild Enabled="yes">
<RebuildCommand/>
<CleanCommand>./clean.sh</CleanCommand>
<BuildCommand>./build.sh MemeveyPro_m68k</BuildCommand>
<PreprocessFileCommand/>
<SingleFileCommand/>
<MakefileGenerationCommand/>
<ThirdPartyToolName/>
<WorkingDirectory>/home/zac/Desktop/Retro68Folder/MemeveyPro-m68k/run</WorkingDirectory>
</CustomBuild>
<AdditionalRules>
<CustomPostBuild/>
<CustomPreBuild/>
</AdditionalRules>
<Completion EnableCpp11="yes" EnableCpp14="yes">
<ClangCmpFlagsC/>
<ClangCmpFlags/>
<ClangPP/>
<SearchPaths>/home/zac/Desktop/Retro68Folder/Retro68-build/toolchain/CIncludes
/home/zac/Desktop/Retro68Folder/Retro68-build/toolchain/RIncludes&#xD;
</SearchPaths>
</Completion>
</Configuration>
</Settings>
</CodeLite_Project>

18
MemeveyPro_m68k.workspace Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<CodeLite_Workspace Name="MemeveyPro_m68k" Database="" Version="10.0.0">
<Project Name="MemeveyPro_m68k" Path="MemeveyPro_m68k.project" Active="Yes"/>
<BuildMatrix>
<WorkspaceConfiguration Name="Debug" Selected="no">
<Environment/>
<Project Name="MemeveyPro_m68k" ConfigName="Debug"/>
</WorkspaceConfiguration>
<WorkspaceConfiguration Name="Release" Selected="no">
<Environment/>
<Project Name="MemeveyPro_m68k" ConfigName="Debug"/>
</WorkspaceConfiguration>
<WorkspaceConfiguration Name="Default" Selected="yes">
<Environment/>
<Project Name="MemeveyPro_m68k" ConfigName="Basilisk II"/>
</WorkspaceConfiguration>
</BuildMatrix>
</CodeLite_Workspace>