add_library(hawktracer_parser ${HAWKTRACER_LIB_TYPE} debug_event_listener.cpp event.cpp event_klass.cpp file_stream.cpp klass_register.cpp protocol_reader.cpp) set_target_properties(hawktracer_parser PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON POSITION_INDEPENDENT_CODE ON) target_link_libraries(hawktracer_parser hawktracer) target_include_directories(hawktracer_parser PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) install(TARGETS hawktracer_parser LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT clientdevelopment) install(DIRECTORY include/hawktracer DESTINATION include COMPONENT clientdevelopment)