2023-06-13 00:31:38 +00:00
|
|
|
file(GLOB I2PD_SOURCES "i2pd/daemon/*.cpp" "i2pd/libi2pd/*.cpp" "i2pd/libi2pd_client/*.cpp" "i2pd/i18n/*.cpp")
|
|
|
|
|
2020-12-21 19:58:27 +00:00
|
|
|
add_library(quirc STATIC
|
|
|
|
quirc/lib/decode.c
|
|
|
|
quirc/lib/identify.c
|
|
|
|
quirc/lib/quirc.c
|
|
|
|
quirc/lib/version_db.c
|
|
|
|
)
|
2021-07-01 16:36:43 +00:00
|
|
|
set_target_properties(quirc PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
2020-12-21 19:58:27 +00:00
|
|
|
target_include_directories(quirc PUBLIC quirc/lib)
|
2023-06-13 00:31:38 +00:00
|
|
|
|
|
|
|
add_library(i2pd STATIC
|
|
|
|
${I2PD_SOURCES}
|
|
|
|
)
|
|
|
|
set_target_properties(i2pd PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
|
|
|
target_include_directories(i2pd PUBLIC i2pd/daemon i2pd/libi2pd i2pd/libi2pd_client i2pd/i18n)
|
2023-06-13 20:08:31 +00:00
|
|
|
target_compile_definitions(i2pd PUBLIC WIN32_LEAN_AND_MEAN)
|