Skip to content

Commit f82d17d

Browse files
JayFoxRoxmborgerson
authored andcommitted
Use CMake instead of GNU make
1 parent c3cdae7 commit f82d17d

File tree

3 files changed

+11
-79
lines changed

3 files changed

+11
-79
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
extract-xiso
2-
*.o
3-
*.a
1+
build/

CMakeLists.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cmake_minimum_required(VERSION 3.0)
2+
3+
string(TOUPPER __${CMAKE_SYSTEM_NAME}__ TARGET_OS)
4+
5+
set(SOURCE_FILES
6+
extract-xiso.c
7+
)
8+
9+
add_executable(extract-xiso ${SOURCE_FILES})
10+
target_compile_definitions(extract-xiso PRIVATE ${TARGET_OS})

Makefile

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)