24 lines
551 B
CMake
24 lines
551 B
CMake
|
|
# Create the example executable
|
||
|
|
add_executable(llm_vl
|
||
|
|
test_llm_vl.cpp
|
||
|
|
)
|
||
|
|
|
||
|
|
# Link VisionProcessor library to the example
|
||
|
|
target_link_libraries(llm_vl
|
||
|
|
DeepCam
|
||
|
|
)
|
||
|
|
|
||
|
|
# Include headers from deepcam/sources
|
||
|
|
target_include_directories(llm_vl PRIVATE
|
||
|
|
${CMAKE_SOURCE_DIR}/deepcam/sources
|
||
|
|
)
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
# Optional: Set compiler warnings
|
||
|
|
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||
|
|
target_compile_options(llm_vl PRIVATE -Wall -Wextra -Wpedantic)
|
||
|
|
endif()
|
||
|
|
|
||
|
|
# Optional: Set installation target
|
||
|
|
install(TARGETS llm_vl DESTINATION bin)
|