File: build.md

package info (click to toggle)
dlt-viewer 2.23.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,432 kB
  • sloc: cpp: 27,832; ansic: 4,454; xml: 491; sh: 154; makefile: 75
file content (30 lines) | stat: -rw-r--r-- 1,351 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# CMake + MS Visual Studio Code
Please see also [DLT Viewer: CMake + MS Visual Studio Code](../windows/build.md)

# macOs development environment setup
For DLT Viewer development on **MS Windows** please see [Windows development environment setup](../windows/build.md)
For DLT Viewer development on **Linux** please see [Linux development environment setup](../linux/build.md)

Configuration:
- macOS Catalina 10.15+
- Administrator rights `sudo`
- Build environment [install.sh](./install.sh)
    - `sudo dlt-viewer/scripts/linux/install.sh`
- MS Visual Studio Code
    - https://code.visualstudio.com/docs/setup/mac
- Setup `.vscode` folder
    - Copy content of `dlt-viewer/scripts/windows/.vscode_example/*.json` into `dlt-viewer/.vscode/`
    - `.vscode` folder contains developer specific settings and not committed to the project.

# Development with Visual Studio Code
- Please see [windows/build.md](../windows/build.md) on how to use CMake and VS Code with DLT Viewer project.

# "Build from sources" use-case
- Build Release configuration
    - [windows/build.md](../windows/build.md#command-line-build)
- Do NOT use `cmake --install .` for system-wide install.
- Do `cpack -G External` to generate macOS Application bundle.
- Copy/drag DltViewer.app to Applications folder.

# Build release package
- Same as "Build from sources" use-case.