FILE(GLOB SRC *.cpp *.h)

ADD_EXECUTABLE(phrase_generator ${SRC})

INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NELMISC_INCLUDE_DIRS} ${NELGEORGES_INCLUDE_DIRS})
TARGET_LINK_LIBRARIES(phrase_generator ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY} ${NELGEORGES_LIBRARY})
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})

INSTALL(TARGETS phrase_generator RUNTIME DESTINATION bin COMPONENT tools)