Skip to content

Commit

Permalink
CMake : add quantize exe (PABannier#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
Green-Sky committed Aug 17, 2023
1 parent cac76db commit e60a459
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ if(TARGET BUILD_INFO)
add_dependencies(${TARGET} BUILD_INFO)
endif()

# TODO: make subdirs for them
set(TARGET quantize)
add_executable(${TARGET} ../quantize.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE bark ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)
if(TARGET BUILD_INFO)
add_dependencies(${TARGET} BUILD_INFO)
endif()

0 comments on commit e60a459

Please sign in to comment.