proxmark3/client/deps/reveng.cmake

18 lines
563 B
CMake
Raw Normal View History

2020-05-06 20:45:02 +08:00
add_library(pm3rrg_rdv4_reveng STATIC
2020-04-16 16:57:53 +08:00
reveng/bmpbit.c
reveng/cli.c
reveng/model.c
reveng/poly.c
reveng/preset.c
reveng/reveng.c
)
2020-05-06 20:45:02 +08:00
target_compile_definitions(pm3rrg_rdv4_reveng PRIVATE PRESETS)
2020-05-07 20:45:53 +08:00
target_include_directories(pm3rrg_rdv4_reveng PRIVATE
cliparser
../src
../../include)
2020-05-06 20:45:02 +08:00
target_include_directories(pm3rrg_rdv4_reveng INTERFACE reveng)
target_compile_options(pm3rrg_rdv4_reveng PRIVATE -Wall -Werror -O3)
2020-05-06 20:45:02 +08:00
set_property(TARGET pm3rrg_rdv4_reveng PROPERTY POSITION_INDEPENDENT_CODE ON)