Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
redcode committed Sep 11, 2023
1 parent c6f022b commit 847b5c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ prepare the build system:

$ mkdir build
$ cd build
$ cmake <Z80-project-directory> [options]
$ cmake [options] <Z80-project-directory>

The resulting build files can be configured by passing options to cmake. To show
a complete list of those available along with their current settings, type the
Expand Down Expand Up @@ -335,4 +335,4 @@ You should have received a copy of the GNU Lesser General Public License along
with this library. If not, see <http://www.gnu.org/licenses/>.

________________________________________________________________________________
Last update: 2023-08-05 README EOF
Last update: 2023-09-11 README EOF
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ Once the prerequisites are met, create a directory and run `cmake` from there to
```shell
mkdir build
cd build
cmake <Z80-project-directory> [options]
cmake [options] <Z80-project-directory>
```

The resulting build files can be configured by passing options to `cmake`. To show a complete list of those available along with their current settings, type the following:
Expand Down Expand Up @@ -512,15 +512,16 @@ git clone https://github.com/redcode/Zeta.git
git clone https://github.com/redcode/Z80.git
cd Zeta
mkdir build && cd build
cmake .. \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$HOME/.local \
-DZeta_WITH_CMAKE_SUPPORT=YES \
-DZeta_WITH_PKGCONFIG_SUPPORT=YES
-DZeta_WITH_PKGCONFIG_SUPPORT=YES \
..
cmake --install . --config Release
cd ../../Z80
mkdir build && cd build
cmake .. \
cmake \
-DBUILD_SHARED_LIBS=YES \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$HOME/.local \
Expand All @@ -530,7 +531,8 @@ cmake .. \
-DZ80_WITH_FULL_IM0=YES \
-DZ80_WITH_IM0_RETX_NOTIFICATIONS=YES \
-DZ80_WITH_Q=YES \
-DZ80_WITH_ZILOG_NMOS_LD_A_IR_BUG=YES
-DZ80_WITH_ZILOG_NMOS_LD_A_IR_BUG=YES \
..
cmake --build . --config Release
cmake --install . --config Release --strip
```
Expand Down Expand Up @@ -573,15 +575,16 @@ git clone https://github.com/redcode/Zeta.git
git clone https://github.com/redcode/Z80.git
cd Z80
mkdir build && cd build
cmake .. \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DZ80_FETCH_TEST_FILES=YES \
-DZ80_WITH_TESTS=YES \
-DZ80_WITH_EXECUTE=YES \
-DZ80_WITH_FULL_IM0=YES \
-DZ80_WITH_IM0_RETX_NOTIFICATIONS=YES \
-DZ80_WITH_Q=YES \
-DZ80_WITH_ZILOG_NMOS_LD_A_IR_BUG=YES
-DZ80_WITH_ZILOG_NMOS_LD_A_IR_BUG=YES \
..
cmake --build . --config Release
ctest --verbose --build-config Release
```
Expand Down

0 comments on commit 847b5c1

Please sign in to comment.