project(OwnDiagRuntimeSystem)

# Headers
SET( headers
	OwnDiagRuntimeSystemDefs.h
	OwnDiagRuntimeSystem.h
)

###############################################################################
# Source files
SET( srcs
	OwnDiagRuntimeSystem.cpp
)

add_library(${PROJECT_NAME} SHARED ${headers} ${srcs})
target_link_libraries(${PROJECT_NAME})

# or target_link_libraries(${PROJECT_NAME} libprotobuf)
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_SOURCE_DIR}/Libs/protobuf-3.10.1/src)
target_link_libraries(${PROJECT_NAME} ${OtxDiagManager_DELIVERY_PATH}/lib/libprotobuf.lib)


target_include_directories(${PROJECT_NAME} PUBLIC ${OtxDiagManager_DELIVERY_PATH}/include/OpenTestSystem.OtxDiagManager.Common)

target_link_libraries(${PROJECT_NAME} ${OtxDiagManager_DELIVERY_PATH}/lib/ProtoGen.lib)
target_link_libraries(${PROJECT_NAME} ${OtxDiagManager_DELIVERY_PATH}/lib/OpenTestSystem.OtxDiagManager.Common.lib)