Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build
run: |
mkdir build
cmake -G Ninja -S . -B build -D USE_LATEX=ON
cmake -G Ninja -S . -B build
cmake --build build
- uses: actions/upload-artifact@v4
with:
Expand All @@ -45,7 +45,7 @@ jobs:
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
refreshenv
mkdir build
cmake -S . -B build -D USE_LATEX=ON
cmake -S . -B build
cmake --build build
shell: pwsh
- uses: actions/upload-artifact@v4
Expand All @@ -66,7 +66,7 @@ jobs:
run: |
eval "$(/usr/libexec/path_helper)"
mkdir build
cmake -G Ninja -S . -B build -D USE_LATEX=ON
cmake -G Ninja -S . -B build
cmake --build build
- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ project(programming_course_reports)
include(${CMAKE_SOURCE_DIR}/cmake/configure.cmake)

############################### LATEX ###############################
option(USE_LATEX OFF)
option(USE_LATEX ON)
if( USE_LATEX )
find_package(LATEX REQUIRED)
if(NOT (LATEX_FOUND AND LATEX_PDFLATEX_FOUND))
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Navigate to a source code folder.

```
mkdir build && cd build
cmake -D USE_LATEX=ON ..
cmake ..
```
*Help on CMake keys:*
- `-D USE_LATEX=ON` enable `LaTeX` reports.
Expand Down
Loading