diff options
| author | Ian Elliott <ian@LunarG.com> | 2015-02-09 13:21:11 -0700 |
|---|---|---|
| committer | Ian Elliott <ian@LunarG.com> | 2015-02-09 13:24:02 -0700 |
| commit | e8068d9a7461ace8366d5b7847cc9fc8ed72af64 (patch) | |
| tree | 49177b1773ef14d026137c4b7e2ea17cb49e976b /loader | |
| parent | d704608d7360701793a527eed12fec313cd5f0be (diff) | |
| download | usermoji-e8068d9a7461ace8366d5b7847cc9fc8ed72af64.tar.xz | |
Win: Build both STATIC (.lib) and SHARED (.dll) loader libraries.
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt index bbf5799f..15702307 100644 --- a/loader/CMakeLists.txt +++ b/loader/CMakeLists.txt @@ -15,8 +15,9 @@ include_directories( if (WIN32) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DXGL_PROTOTYPES -D_CRT_SECURE_NO_WARNINGS") - add_library(XGL STATIC loader.c dirent_on_windows.c dispatch.c table_ops.h) - set_target_properties(XGL PROPERTIES SOVERSION 0) + add_library(XGL SHARED loader.c dirent_on_windows.c dispatch.c table_ops.h) + add_library(XGLstatic STATIC loader.c dirent_on_windows.c dispatch.c table_ops.h) + set_target_properties(XGLstatic PROPERTIES OUTPUT_NAME XGL) target_link_libraries(XGL) endif() if (NOT WIN32) |
