Skip to content

Commit a4769cc

Browse files
committed
update cmake for debugging & update github actions
1 parent b92534a commit a4769cc

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/cmake-build.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,8 @@ jobs:
2121
with:
2222
cmake-version: '3.21.3'
2323

24-
- name: Install MSVC build tools
25-
uses: microsoft/setup-msbuild@v1.0.2
26-
2724
- name: Configure with CMake
2825
run: cmake -S . -B build -G "Visual Studio 17 2022"
2926

3027
- name: Build with MSVC
3128
run: cmake --build build --config Release
32-
33-
- name: Check build directory
34-
run: dir build /s

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ if(NOT zlib_POPULATED)
4141
FetchContent_Populate(zlib)
4242
endif()
4343

44+
file(GLOB ZLIB_LIBS "${zlib_BINARY_DIR}/*.lib")
45+
foreach(lib_file ${ZLIB_LIBS})
46+
message(STATUS "Found zlib lib file: ${lib_file}")
47+
endforeach()
48+
4449
set(ZLIB_LIBRARY "${zlib_BINARY_DIR}/zlib.lib")
4550
set(ZLIB_INCLUDE_DIR "${zlib_SOURCE_DIR}")
4651

0 commit comments

Comments
 (0)