Remove old changelog
[KDIS.git] / examples / pdu / pdu_factory_1 / CMakeLists.txt
blobec503ab1be8133a8157a1a532587d927ae4548e8
2 # Headers & Sources
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)
11 # Executable
13 add_executable(
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
25 # -Werror> )