FILE(GLOB SRC *.cpp *.h)

DECORATE_NEL_LIB("game_share")
SET(GAME_SHARE_LIB ${LIBNAME})

ADD_EXECUTABLE(pdr_util ${SRC})

INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NELMISC_INCLUDE_DIRS})
TARGET_LINK_LIBRARIES(pdr_util ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY} ${GAME_SHARE_LIB} ${NELNET_LIBRARY} ${NELLIGO_LIBRARY} ${NELGEORGES_LIBRARY})
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})

INSTALL(TARGETS pdr_util RUNTIME DESTINATION bin COMPONENT tools)