mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Add cmake file for cross compiling using DJGPP.
This commit is contained in:
15
setter/src/dos/CMakeLists.txt
Normal file
15
setter/src/dos/CMakeLists.txt
Normal 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)
|
||||
@@ -1,4 +1,4 @@
|
||||
if(NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if(NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user