From d7a5e850a02defcd453f8934788236f4b31d1cc5 Mon Sep 17 00:00:00 2001 From: ClausKlein Date: Mon, 15 Feb 2021 21:14:51 +0100 Subject: [PATCH] giv it up, no DLL with windoof --- .github/workflows/windows.yml | 3 ++- CMakeLists.txt | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index e5e2ed8..8501585 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,3 +1,4 @@ +--- name: Windows on: @@ -25,7 +26,7 @@ jobs: key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} - name: configure - run: cmake -Stest -Bbuild -G "Visual Studio 16 2019" -T ClangCL + run: cmake -Stest -Bbuild # XXX -G "Visual Studio 16 2019" -T ClangCL - name: build run: cmake --build build --config Debug -j4 diff --git a/CMakeLists.txt b/CMakeLists.txt index f04a2cb..20bd590 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,9 +20,9 @@ endif() # ---- Project settings ---- -# XXX if(NOT MSVC) -option(BUILD_SHARED_LIBS "Create shared libraries if ON" YES) -# XXX endif() +if(NOT MSVC) + option(BUILD_SHARED_LIBS "Create shared libraries if ON" YES) +endif() if(NOT DEFINED CMAKE_CXX_STANDARD) set(CMAKE_CXX_STANDARD 17)