mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
16 lines
411 B
CMake
16 lines
411 B
CMake
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|
return()
|
|
endif()
|
|
|
|
project(
|
|
fssetter-linux
|
|
DESCRIPTION "Filesystem test creator for Linux"
|
|
LANGUAGES C)
|
|
|
|
set(PLATFORM_SOURCES attr.c sparse.c xattr.c)
|
|
|
|
set(EXECUTABLE_NAME "fssetter-${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
|
|
|
|
add_executable(${EXECUTABLE_NAME} ${PLATFORM_SOURCES})
|
|
|
|
target_link_libraries(${EXECUTABLE_NAME} core unix) |