1 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.1)
2 CMAKE_POLICY(SET CMP0015 NEW)
4 LINK_DIRECTORIES(${LINK_DIRECTORIES} ${CMAKE_LIBRARY_DIR})
5 ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
7 FILE(GLOB SRC htmlcss_test.cpp)
8 ADD_EXECUTABLE(htmlcss_test ${SRC})
9 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${LUA_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIR} )
10 TARGET_LINK_LIBRARIES(htmlcss_test nelmisc nelgui ${LUA_LIBRARIES} ${LIBXML2_LIBRARIES})
11 NL_DEFAULT_PROPS(htmlcss_test "Ryzom, Tests: html/css parser tests")
12 NL_ADD_RUNTIME_FLAGS(htmlcss_test)
14 INSTALL(TARGETS htmlcss_test RUNTIME DESTINATION bin COMPONENT tools)