I haven't got a clue with what to do with CMake.
Could anyone help by making an easy to adapt "template"?
I have the following workspace structure at the moment:
I'd like to have a CMakeList.txt where it only looks in:
boot.s # using nasm syntax
Of those directories,
I need 1 & 2 to be compiled.
3 is where I'd like the object files to be stored,
4 has the linker script I want to use to link everything together
5 is where I'd like the final binary ( named "kernel" )
6 is where I'll be storing the header files of my kernel.
If you could put comments telling me what is being done and if possible how I could add more directories/languages to the file(s) that would be amazing!
Thanks in advance.
Main rig setup:
Mobo - MSI 790 Mainboard | CPU - AMD FX43000 Black Edition x4 | GPU - eVGA GeForce 550Ti | RAM - 8GiB G.Skill Sniper Series DDR3 | Other - Corsair H60 Water Cooler | Dual Monitor Setup | Kingston HyperX 240GB SSD | Windows 10