win32 support

This commit is contained in:
BENEDEK László 2024-05-31 21:44:04 +02:00
parent 28461d9bbf
commit 04f2275508
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
build

View File

@ -26,7 +26,7 @@ add_library(flags-cpp-static STATIC $<TARGET_OBJECTS:flags-cpp>)
set_target_properties(flags-cpp-static PROPERTIES OUTPUT_NAME flags-cpp)
add_library(flags-cpp-shared SHARED $<TARGET_OBJECTS:flags-cpp>)
target_link_libraries(flags-cpp-shared -static-libgcc -static-libstdc++)
target_link_libraries(flags-cpp-shared)
set_target_properties(flags-cpp-shared PROPERTIES OUTPUT_NAME flags-cpp)
add_executable(example "${CMAKE_SOURCE_DIR}/src/main.cpp")