From b311cea4e5e7a7fbf17bdc104ed58b44bbfb7238 Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Thu, 26 Dec 2019 23:56:53 +0100 Subject: [PATCH] Remove optimization options from CMakeLists.txt. Update the COMPILE section in the README. --- CMakeLists.txt | 1 - README.md | 42 ++++++++++++++++++++++++++---------------- 2 files changed, 26 insertions(+), 17 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e2c1c0f..79a1860 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,6 @@ project(dingusppc) set(CMAKE_CXX_STANDARD 11) set(CMAKE_INCLUDE_CURRENT_DIR ON) -set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-c -Wall -O3 -s") set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin) include_directories("${PROJECT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/devices" diff --git a/README.md b/README.md index cea3c93..031cd50 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,12 @@ Be warned the program is highly unfinished and could use a lot of testing. Any feedback is welcome. ## PHILOSOPHY OF USE - -Sheepshaver, while technically impressive, is becoming harder to compile and run. While many other PowerPC emus exist, none of them currently attempt emulation of PPC Macs (except for QEMU). -This program aims to not only improve upon what Sheepshaver has done, but also to provide a better debugging environment. This currently is designed to work best with PowerPC Old World ROMs, +Sheepshaver, while technically impressive, is becoming harder to compile and run. While many other PowerPC emus exist, none of them currently attempt emulation of PPC Macs (except for QEMU). + +This program aims to not only improve upon what Sheepshaver has done, but also to provide a better debugging environment. This currently is designed to work best with PowerPC Old World ROMs, including those of the PowerMac G3 Beige. - + ## HOW TO USE This program uses the command prompt to work. @@ -37,27 +37,37 @@ Execute a page of opcodes (256 instructions at a time). -playground -allows users to enter 32-bit hex opcodes to mess with the PPC processor. +allows users to enter 32-bit hex opcodes to mess with the PPC processor. + +## HOW TO COMPILE + +You'll need to install development tools first. + +At least, a C++ compiler and [CMake](https://cmake.org) are required. + +For example, to build the project in a Unix-like environment, you'll need to run +the following commands in the OS terminal: +``` +mkdir build +cd build +cmake -DCMAKE_BUILD_TYPE=Release .. +make +``` +You may specify another build type using the variable CMAKE_BUILD_TYPE. -## HOW TO COMPILE - -Run sudo apt-get install build-essential - -From the terminal, run makefile. - Due to the incomplete status of the program at this time, no additional libraries are required. - + Future versions will include SDL 2 as a requirement. - + ## Intended Minimum Requirements - + - Windows 7 or newer (64-bit), Linux 4.4 or newer, Mac OS X 10.9 or newer (64-bit) - Intel Core 2 Duo or better - 2 GB of RAM - 2 GB of Hard Disk Space - Graphics Card with a minimum resolution of 800*600 - + ## Compiler Requirements - + - GCC 4.7 or newer (i.e. CodeBlocks 13.12 or newer) - Visual Studio 2013 or newer