Skip to content

WhoBrokeTheBuild/NESx

Repository files navigation

Build Status

NESx

A Toy Nintendo Entertainment System Emulator

Building

mkdir Build
cd Build
cmake ..

# Unix
make -l

# Any System
cmake --build .

Build Flags

Build flags can be specified to cmake as -DNAME=VALUE, e.g.

cmake -DBUILD_TOOLS=ON ..
  • BUILD_TOOLS, default OFF

    Builds additional tools for debugging, assembling, etc.

  • BUILD_TESTING, default ON

    Builds automated tests.

  • BUILD_THIRDPARTY, default ON

    Builds all missing required dependencies for the project.

Running Tests

# Enable Tests
cmake -DBUILD_TESTS=ON ..

# Unix
make -l all test
# or
ctest --verbose

# Any System
cmake --build . --target test