Merge pull request #1327 from Pondorasti/patch-1
[RRG-proxmark3.git] / client / deps / reveng.cmake
blobd7e3cfd8a5fc3079b8f230cd47cedca98970f4e6
1 add_library(pm3rrg_rdv4_reveng STATIC
2         reveng/bmpbit.c
3         reveng/cli.c
4         reveng/model.c
5         reveng/poly.c
6         reveng/preset.c
7         reveng/reveng.c
10 target_compile_definitions(pm3rrg_rdv4_reveng PRIVATE PRESETS)
11 target_include_directories(pm3rrg_rdv4_reveng PRIVATE
12         cliparser
13         ../src
14         ../../include)
15 target_include_directories(pm3rrg_rdv4_reveng INTERFACE reveng)
16 target_compile_options(pm3rrg_rdv4_reveng PRIVATE -Wall -Werror -O3)
17 set_property(TARGET pm3rrg_rdv4_reveng PROPERTY POSITION_INDEPENDENT_CODE ON)