CMakeLists.txt 438 B

123456789101112131415161718
  1. set(IMAGE_DIFF_DIR "${TOOLS_DIR}/ImageDiff")
  2. set(IMAGE_DIFF_INCLUDE_DIRECTORIES
  3. ${CMAKE_BINARY_DIR}
  4. ${WTF_DIR}
  5. )
  6. set(IMAGE_DIFF_LIBRARIES
  7. WTF
  8. )
  9. INCLUDE_IF_EXISTS(${IMAGE_DIFF_DIR}/Platform${PORT}.cmake)
  10. include_directories(${IMAGE_DIFF_INCLUDE_DIRECTORIES})
  11. add_executable(ImageDiff ${IMAGE_DIFF_SOURCES})
  12. target_link_libraries(ImageDiff ${IMAGE_DIFF_LIBRARIES})
  13. set_target_properties(ImageDiff PROPERTIES FOLDER "Tools")