CMakeLists.txt
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:1k
源码类别:

游戏引擎

开发平台:

C++ Builder

  1. # -*- cmake -*-
  2. project(llimagej2coj)
  3. include(00-Common)
  4. include(LLCommon)
  5. include(LLImage)
  6. include(OpenJPEG)
  7. include_directories(
  8.     ${LLCOMMON_INCLUDE_DIRS}
  9.     ${LLIMAGE_INCLUDE_DIRS}
  10.     ${OPENJPEG_INCLUDE_DIR}
  11.     )
  12. set(llimagej2coj_SOURCE_FILES
  13.     llimagej2coj.cpp
  14.     )
  15. set(llimagej2coj_HEADER_FILES
  16.     CMakeLists.txt
  17.     llimagej2coj.h
  18.     )
  19. set_source_files_properties(${llimagej2coj_HEADER_FILES}
  20.                             PROPERTIES HEADER_FILE_ONLY TRUE)
  21. list(APPEND llimagej2coj_SOURCE_FILES ${llimagej2coj_HEADER_FILES})
  22. add_library (llimagej2coj ${llimagej2coj_SOURCE_FILES})
  23. target_link_libraries(
  24.     llimagej2coj
  25.     ${OPENJPEG_LIBRARIES}
  26.     )