mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Update cmake files.
This commit is contained in:
16
setter/src/linux/CMakeLists.txt
Normal file
16
setter/src/linux/CMakeLists.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user