mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-26 15:59:22 +00:00
Finishing the windows's CI (I think)
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Build Makefile with CMake
|
||||
run: |
|
||||
Set-Location build
|
||||
cmake -DCMAKE_CXX_FLAGS=-isystem\ build/include .. -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND"
|
||||
cmake .. -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DGITBUILD=true
|
||||
- name: Build with Makefile
|
||||
run: mingw32-make -C build ComSquare
|
||||
- name: Copy shared libs
|
||||
|
||||
@@ -52,6 +52,12 @@ add_executable(unit_tests
|
||||
target_link_libraries(unit_tests criterion -lgcov)
|
||||
target_compile_options(unit_tests PUBLIC -fprofile-arcs -ftest-coverage)
|
||||
|
||||
if ("${GITBUILD}" STREQUAL true)
|
||||
include_directories(ComSquare build/include)
|
||||
link_directories(ComSquare build/lib)
|
||||
message("Git build is true")
|
||||
endif ()
|
||||
|
||||
# make app
|
||||
add_executable(ComSquare
|
||||
main.cpp
|
||||
|
||||
Reference in New Issue
Block a user