https://github.com/halide/Halide
Raw File
Tip revision: 96efd01fa9fa9cef1a02749e8e8e154d782189b3 authored by Tzu-Mao Li on 01 April 2020, 21:09:38 UTC
Comments and remove unused code
Tip revision: 96efd01
CMakeLists.txt
# Generator(s)
halide_generator(pipeline.generator
                 SRCS pipeline_generator.cpp)
halide_library_from_generator(pipeline_c
                              GENERATOR pipeline.generator)
halide_library_from_generator(pipeline_native
                              GENERATOR pipeline.generator)

halide_generator(pipeline_cpp.generator
                 SRCS pipeline_cpp_generator.cpp)
halide_library_from_generator(pipeline_cpp_cpp
                              GENERATOR pipeline_cpp.generator
                              HALIDE_TARGET_FEATURES c_plus_plus_name_mangling)
halide_library_from_generator(pipeline_cpp_native
                              GENERATOR pipeline_cpp.generator
                              HALIDE_TARGET_FEATURES c_plus_plus_name_mangling)

# Final executable(s)
add_executable(run_c_backend_and_native run.cpp)
target_link_libraries(run_c_backend_and_native 
                      PUBLIC pipeline_native pipeline_c_cc)

add_executable(run_c_backend_and_native_cpp run_cpp.cpp)
target_link_libraries(run_c_backend_and_native_cpp 
                      PUBLIC pipeline_cpp_native pipeline_cpp_cpp_cc)






back to top