chaos-lang / chaos

The Chaos Programming Language
https://chaos-lang.org
GNU General Public License v3.0
280 stars 17 forks source link

CMake #108

Open SamuelMarks opened 2 years ago

SamuelMarks commented 2 years ago

Pull Request Details

CMake support (WiP), @ tag me if you want this and I'll finish the contrib

Description

Add CMake and CPack support. Useful for cross-platform building and packaging.

Once this is ready, I can see what I can do about #97 and if not just BSD but Windows support can also be added.

Related Issue

Motivation and Context

Multi-OS support. Multi-OS packaging. Integration at the library level.

How Has This Been Tested

Just locally thus far (on macOS)

Types of changes

Non-breaking but you might want to remove your Makefile when this is ready:

Checklist

mertyildiran commented 2 years ago

Hi @SamuelMarks, thank you so much for adding CMake to the project. It seems like a great step towards making the build workflow of Chaos production grade. I'll test it on my Linux machine soon.

SamuelMarks commented 2 years ago

Ok @mertyildiran I've started working on it again, can you experiment also?

Added chaos-lang/myjit/pull/1 also