build: convert build system to CMake
This commit is contained in:
8
tools/CMakeLists.txt
Normal file
8
tools/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
project(magenta-tools C)
|
||||
|
||||
set(tool_dirs e64patch)
|
||||
|
||||
foreach (dir ${tool_dirs})
|
||||
add_subdirectory(${dir})
|
||||
endforeach (dir)
|
||||
3
tools/e64patch/CMakeLists.txt
Normal file
3
tools/e64patch/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
file(GLOB sources *.c *.h)
|
||||
|
||||
add_executable(e64patch ${sources})
|
||||
Reference in New Issue
Block a user