Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ixm-one/trh
Tom's Retro Hardware Modules
https://github.com/ixm-one/trh
Last synced: 23 days ago
JSON representation
Tom's Retro Hardware Modules
- Host: GitHub
- URL: https://github.com/ixm-one/trh
- Owner: ixm-one
- Created: 2023-09-16T21:27:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-04T04:17:07.000Z (about 1 year ago)
- Last Synced: 2024-11-22T15:12:11.812Z (3 months ago)
- Language: CMake
- Size: 5.86 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview
TRH stands for Tom's Retro Hardware, as I've written this project so an old
work buddy of mine can target his retro hardware with CMake. The list of
eventual platforms to be supported is listed below:- [ ] SNES
- [ ] WonderSwan
- [ ] NeoGeo Pocket# Usage
As long as TRH is added to your `CMAKE_MODULE_PATH` prior to the first call to
`project()` or `enable_language`, you will be able to use its platform and
compiler detection features.One of the easiest ways to use TRH is via [`FetchContent`]:
```cmake
cmake_minimum_required(VERSION 3.25)
include(FetchContent)
FetchContent_Declare(trh
GIT_REPOSITORY https://github.com/ixm-one/trh
GIT_TAG main)
FetchContent_MakeAvailable(trh)
```Feel free to replace `main` with any `git rev-parse` capable entry. CMake will
use that specific revision to access it.[`FetchContent`]: https://cmake.org/cmake/help/latest/module/FetchContent.html