Files
edgetx-gx12/companion/src/storage/CMakeLists.txt
T
Neil HorneandGitHub 33845b9def chore(cpn): Bump miniz to v2.2.0 (#2010)
* Install miniz v2.2.0 release over v1.15
* Update interfacing to miniz and compile miniz as a library
2022-06-08 12:38:40 +10:00

39 lines
620 B
CMake

include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
set(storage_NAMES
hexinterface
mountlist
rlefile
appdata
firmwareinterface
storage
bineeprom
eepe
hexeeprom
categorized
sdcard
etx
otx
yaml
)
set(storage_SRCS
)
set(storage_HDRS
)
set(storage_MOC_HDRS
appdata.h
)
foreach(name ${storage_NAMES})
set(storage_SRCS ${storage_SRCS} ${name}.cpp)
set(storage_HDRS ${storage_HDRS} ${name}.h)
endforeach()
qt5_wrap_cpp(storage_SRCS ${storage_MOC_HDRS})
add_library(storage ${storage_SRCS} ${storage_HDRS})
target_link_libraries(storage PRIVATE miniz ${CPN_COMMON_LIB})