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

游戏引擎

开发平台:

C++ Builder

  1. # -*- cmake -*-
  2. include(00-Common)
  3. include(LLCommon)
  4. include(LLMath)
  5. include(LScript)
  6. set(lscript_library_SOURCE_FILES
  7.     lscript_alloc.cpp
  8.     lscript_export.cpp
  9.     lscript_library.cpp
  10.     )
  11. set(lscript_library_HEADER_FILES
  12.     CMakeLists.txt
  13.     ../lscript_library.h
  14.     ../lscript_export.h
  15.     )
  16. set_source_files_properties(${lscript_library_HEADER_FILES}
  17.                             PROPERTIES HEADER_FILE_ONLY TRUE)
  18. list(APPEND lscript_library_SOURCE_FILES ${lscript_library_HEADER_FILES})
  19. include_directories(
  20.     ${LLCOMMON_INCLUDE_DIRS}
  21.     ${LLMATH_INCLUDE_DIRS}
  22.     ${LSCRIPT_INCLUDE_DIRS}
  23.     )
  24. add_library (lscript_library ${lscript_library_SOURCE_FILES})