/indra/lscript/lscript_library/CMakeLists.txt

https://bitbucket.org/lindenlab/viewer-beta/ · CMake · 32 lines · 23 code · 8 blank · 1 comment · 0 complexity · c0793030ab610425a0f02b5e87dd34b8 MD5 · raw file

  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})