選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

22 行
789 B

  1. # - Config file for the FooBar package
  2. # It defines the following variables
  3. # FOOBAR_INCLUDE_DIRS - include directories for FooBar
  4. # FOOBAR_LIBRARIES - libraries to link against
  5. # FOOBAR_EXECUTABLE - the bar executable
  6. # Compute paths
  7. get_filename_component(FOOBAR_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
  8. if(EXISTS "${FOOBAR_CMAKE_DIR}/CMakeCache.txt")
  9. # In build tree
  10. include("${FOOBAR_CMAKE_DIR}/FooBarBuildTreeSettings.cmake")
  11. else()
  12. set(FOOBAR_INCLUDE_DIRS "${FOOBAR_CMAKE_DIR}/@CONF_REL_INCLUDE_DIR@")
  13. endif()
  14. # Our library dependencies (contains definitions for IMPORTED targets)
  15. include("${FOOBAR_CMAKE_DIR}/FooBarLibraryDepends.cmake")
  16. # These are IMPORTED targets created by FooBarLibraryDepends.cmake
  17. set(FOOBAR_LIBRARIES foo)
  18. set(FOOBAR_EXECUTABLE bar)