Remove optimization options from CMakeLists.txt.

Update the COMPILE section in the README.
This commit is contained in:
Maxim Poliakovski 2019-12-26 23:56:53 +01:00
parent e2a151265e
commit b311cea4e5
2 changed files with 26 additions and 17 deletions

View File

@ -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"

View File

@ -41,9 +41,19 @@ allows users to enter 32-bit hex opcodes to mess with the PPC processor.
## HOW TO COMPILE
Run sudo apt-get install build-essential
You'll need to install development tools first.
From the terminal, run makefile.
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.
Due to the incomplete status of the program at this time, no additional libraries are required.