4 set(KDIS_EXAMPLES_PDU_PDU_FACTORY_1_HEADERS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
5 set(KDIS_EXAMPLES_PDU_PDU_FACTORY_1_SOURCES_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
7 set(KDIS_EXAMPLES_PDU_PDU_FACTORY_1_HEADERS)
8 set(KDIS_EXAMPLES_PDU_PDU_FACTORY_1_SOURCES ${KDIS_EXAMPLES_PDU_PDU_FACTORY_1_SOURCES_DIR}/main.cpp)
14 ${PROJECT_NAME}_examples_pdu_pdu_factory_1 ${KDIS_EXAMPLES_PDU_PDU_FACTORY_1_HEADERS}
15 ${KDIS_EXAMPLES_PDU_PDU_FACTORY_1_SOURCES}
17 target_link_libraries(${PROJECT_NAME}_examples_pdu_pdu_factory_1 PRIVATE KDIS::KDIS)
18 target_compile_definitions(
19 ${PROJECT_NAME}_examples_pdu_pdu_factory_1
20 PRIVATE DIS_VERSION=${DIS_VERSION}
21 $<$<BOOL:${KDIS_USE_ENUM_DESCRIPTORS}>:KDIS_USE_ENUM_DESCRIPTORS>
23 # TODO target_compile_options( ${PROJECT_NAME}_examples_pdu_pdu_factory_1 PRIVATE
24 # $<$<CXX_COMPILER_ID:MSVC>:/W4 /WX> $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wall -Wextra -Wpedantic