Skip to content

Commit 6b50eca

Browse files
authored
Insert CMakeLists.txt file (#1077)
1 parent 11d7a09 commit 6b50eca

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cmake_minimum_required(VERSION 3.4)
2+
if("${CMAKE_CXX_COMPILER}" STREQUAL "")
3+
set(CMAKE_CC_COMPILER "icx")
4+
set(CMAKE_CXX_COMPILER "dpcpp")
5+
endif()
6+
project (getting_started)
7+
file(COPY $ENV{ONEAPI_ROOT}/vpl/latest/examples/hello/hello-encode/src DESTINATION . FILES_MATCHING PATTERN "*.*")
8+
file(COPY $ENV{ONEAPI_ROOT}/vpl/latest/examples/hello/hello-encode/CMakeLists.txt DESTINATION .)
9+
file(COPY $ENV{ONEAPI_ROOT}/vpl/latest/examples/hello/hello-encode/PreLoad.cmake DESTINATION .)
10+
add_subdirectory (${PROJECT_BINARY_DIR}/ bin)

0 commit comments

Comments
 (0)