A Toy Nintendo Entertainment System Emulator
mkdir Build
cd Build
cmake ..
# Unix
make -l
# Any System
cmake --build .
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.
# Enable Tests
cmake -DBUILD_TESTS=ON ..
# Unix
make -l all test
# or
ctest --verbose
# Any System
cmake --build . --target test