win32 support
This commit is contained in:
parent
28461d9bbf
commit
04f2275508
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
build
|
@ -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)
|
set_target_properties(flags-cpp-static PROPERTIES OUTPUT_NAME flags-cpp)
|
||||||
|
|
||||||
add_library(flags-cpp-shared SHARED $<TARGET_OBJECTS: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)
|
set_target_properties(flags-cpp-shared PROPERTIES OUTPUT_NAME flags-cpp)
|
||||||
|
|
||||||
add_executable(example "${CMAKE_SOURCE_DIR}/src/main.cpp")
|
add_executable(example "${CMAKE_SOURCE_DIR}/src/main.cpp")
|
||||||
|
Loading…
Reference in New Issue
Block a user