The "install" build target will now copy the StreamExecutor library and
headers to the appropriate subdirectories of CMAKE_INSTALL_PREFIX.
llvm-svn: 280506
add_subdirectory(lib)
add_subdirectory(examples)
+install(DIRECTORY include/ DESTINATION include)
+
if (STREAM_EXECUTOR_ENABLE_DOXYGEN)
find_package(Doxygen REQUIRED)
configure_file(Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
Stream.cpp)
target_link_libraries(streamexecutor ${llvm_libs})
+install(TARGETS streamexecutor DESTINATION lib)
+
if(STREAM_EXECUTOR_UNIT_TESTS)
add_subdirectory(unittests)
endif()