Add cmake file for cross compiling using DJGPP.

This commit is contained in:
2021-03-09 19:35:16 +00:00
parent 7f7555d3e3
commit 9ce05e8aaf
5 changed files with 62 additions and 4 deletions

View File

@@ -0,0 +1,15 @@
if(NOT DOS)
return()
endif()
project(fssetter-dos
DESCRIPTION "Filesystem test creator for DOS"
LANGUAGES C)
set(PLATFORM_SOURCES attr.c deleted.c dirdepth.c filename.c files.c frag.c links.c os.c perms.c rsrcfork.c sparse.c time.c volume.c xattr.c)
set(EXECUTABLE_NAME "fssetter")
add_executable(${EXECUTABLE_NAME} ${PLATFORM_SOURCES})
target_link_libraries(${EXECUTABLE_NAME} core)

View File

@@ -1,4 +1,4 @@
if(NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
return()
endif()

View File

@@ -1,4 +1,4 @@
if(NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
return()
endif()