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

游戏引擎

开发平台:

C++ Builder

  1. # -*- cmake -*-
  2. project(llxuixml)
  3. include(00-Common)
  4. include(LLCommon)
  5. include(LLMath)
  6. include(LLXML)
  7. include_directories(
  8.     ${LLCOMMON_INCLUDE_DIRS}
  9.     ${LLMATH_INCLUDE_DIRS}
  10.     ${LLXML_INCLUDE_DIRS}
  11.     )
  12. set(llxuixml_SOURCE_FILES
  13.     llinitparam.cpp
  14.     lltrans.cpp
  15.     lluicolor.cpp
  16.     llxuiparser.cpp
  17.     )
  18.     
  19. set(llxuixml_HEADER_FILES
  20.     CMakeLists.txt
  21.     llinitparam.h
  22.     lltrans.h
  23.     llregistry.h
  24.     lluicolor.h
  25.     llxuiparser.h
  26.     )
  27. set_source_files_properties(${llxuixml_HEADER_FILES}
  28.                             PROPERTIES HEADER_FILE_ONLY TRUE)
  29. list(APPEND llxuixml_SOURCE_FILES ${llxuixml_HEADER_FILES})
  30. add_library (llxuixml ${llxuixml_SOURCE_FILES})
  31. # Libraries on which this library depends, needed for Linux builds
  32. # Sort by high-level to low-level
  33. target_link_libraries(llxuixml
  34.     llxml
  35.     llcommon
  36.     llmath
  37.     )