Skip to content

CMakeLists.txt script usable with the dos-like project for Windows, Linux, and macOS

License

Notifications You must be signed in to change notification settings

nightmareci/dos-like-cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

It's simplest to just clone the original dos-like repo right into this source tree; it's not provided in this repo as a Git submodule, so you can easily clone a fork. A regular git clone of dos-like into this source tree will clone into a form the CMakeLists.txt script will work with by default:

git clone https://github.com/mattiasgustavsson/dos-like.git
cmake -B build
cmake --build build
cd dos-like
../build/stranded

Be sure to have the working directory in the dos-like source tree when running the examples, or they won't work.

Alternatively, you can manually specify the root of the dos-like source tree, but it must match the layout of the original one:

cmake -B build -DDOS_LIKE_SOURCE=/path/to/dos-like

This CMake script is intended for developers of the dos-like project, to make it easy to develop and debug the library and examples in an IDE supported by CMake.

This CMake script only supports Windows MSVC builds not using SDL2 nor GLEW, or builds on non-Windows platforms using SDL2 and GLEW. Building with TinyC isn't supported.

About

CMakeLists.txt script usable with the dos-like project for Windows, Linux, and macOS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages