Skip to content

Instantly share code, notes, and snippets.

@dkurt
Created July 4, 2017 11:08
Show Gist options
  • Save dkurt/262aef1a824680df5197e0bd44f7f49b to your computer and use it in GitHub Desktop.
Save dkurt/262aef1a824680df5197e0bd44f7f49b to your computer and use it in GitHub Desktop.
CMakeLists.txt
cmake_minimum_required(VERSION 3.4.3)
project(test_halide CXX)
include_directories(
~/Halide/build/include
)
link_directories(
~/Halide/build/lib
)
add_executable(${CMAKE_PROJECT_NAME} main.cpp)
target_compile_features(${CMAKE_PROJECT_NAME} PRIVATE cxx_range_for)
target_link_libraries(${CMAKE_PROJECT_NAME}
Halide
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment