File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959
6060 - name : Configure simple device module with CMake Windows
6161 if : runner.os == 'Windows'
62- # run: cmake -B build/output -S . -G Ninja -DOPENDAQ_ENABLE_TESTS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${{ steps.windows-dependencies-install.outputs.vcpkg-toolchain-file }}
62+ # run: cmake -B build/output -S . -G "Visual Studio 17 2022" -DOPENDAQ_ENABLE_TESTS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${{ steps.windows-dependencies-install.outputs.vcpkg-toolchain-file }}
6363 run : cmake -B build/output -S . -G Ninja -DOPENDAQ_ENABLE_TESTS=ON -DCMAKE_BUILD_TYPE=Release
6464
6565 - name : Configure simple device module with CMake
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ add_library(${LIB_NAME} SHARED ${SRC_Include}
3232)
3333
3434add_library (${SDK_TARGET_NAMESPACE} ::${LIB_NAME} ALIAS ${LIB_NAME} )
35+ if (WIN32 AND (MSVC OR MINGW))
36+ target_compile_definitions (${LIB_NAME} PRIVATE OPENDAQ_MODULE_EXPORTS )
37+ endif ()
3538
3639if (MSVC )
3740 target_compile_options (${LIB_NAME} PRIVATE /bigobj )
You can’t perform that action at this time.
0 commit comments