Commit c540df1b authored by Gallacchi Mattia's avatar Gallacchi Mattia
Browse files

Merge branch '1-add-support-for-chronoscope-pcb' into 'main'

Add CMake files to build the application

Closes #1

See merge request !1
parents 40b9c0f3 5ec6200d
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+1 −0
Original line number Diff line number Diff line
build/
 No newline at end of file
+26 −0
Original line number Diff line number Diff line
{
    "configurations": [
        {
            "name": "Linux",
            "includePath": [
                "${workspaceFolder}/**",
                "/usr/include/opencv4/**"
            ],
            "defines": [],
            "compilerPath": "/usr/bin/gcc",
            "cStandard": "c17",
            "cppStandard": "gnu++17",
            "intelliSenseMode": "linux-gcc-x64"
        },
        {
            "name": "docker",
            "includePath": [
                "${workspaceFolder}/**",
                "/opt/pico-sdk/1.5.1/src/**"
            ],
            "intelliSenseMode": "linux-gcc-arm"
            
        }
    ],
    "version": 4
}
 No newline at end of file
+3 −3
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ Documents found that could be useful.
Program that run to the PC to configure the camera and acquire images.

## uc
Code of the Raspberry Pi Pico which generates trigger signal and flashs.
Code of the Raspberry Pi Pico which generates trigger signal and flash.
Can be controlled via UART. 

## ui
+9 −0
Original line number Diff line number Diff line
cmake_minimum_required(VERSION 3.20)

project(imageproc LANGUAGES CXX)

find_package(OpenCV REQUIRED)

include_directories(${OpenCV_INCLUDE_DIRS})

add_subdirectory(src)
 No newline at end of file
+10 −0
Original line number Diff line number Diff line
cmake_minimum_required(VERSION 3.20)

project(app)

file(GLOB SRC *.cpp)

link_directories("/opt/SVS/SVCamKit/SDK/Linux64_x64/")

add_executable(${PROJECT_NAME} ${SRC})
target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBS} SVGenSDK64)
 No newline at end of file
Loading