summaryrefslogtreecommitdiff
path: root/cmake/sources.cmake
diff options
context:
space:
mode:
authorTeus Benschop <teusjannette@gmail.com>2018-10-17 14:17:24 +0200
committerTeus Benschop <teusjannette@gmail.com>2018-10-17 14:17:24 +0200
commit20263805178077fde0038a47e6b4310d7fe62142 (patch)
tree3914b865747903d60fe139d6c70895eaf1a7ed50 /cmake/sources.cmake
parent8076ab1d72fefcee310be0419f8a214c57075b97 (diff)
New upstream version 1.7.4
Diffstat (limited to 'cmake/sources.cmake')
-rw-r--r--cmake/sources.cmake18
1 files changed, 17 insertions, 1 deletions
diff --git a/cmake/sources.cmake b/cmake/sources.cmake
index 1be2264..040c81b 100644
--- a/cmake/sources.cmake
+++ b/cmake/sources.cmake
@@ -168,6 +168,11 @@ SET(sword_base_utilfns_SOURCES
)
SOURCE_GROUP("src\\utilfns" FILES ${sword_base_utilfns_SOURCES})
+SET(sword_base_msvc_SOURCES
+ src/utilfuns/win32/dirent.cpp
+)
+SOURCE_GROUP("src\\utilfns\\win32" FILES ${sword_base_msvc_SOURCES})
+
SET(sword_base_binding_SOURCES
bindings/flatapi.cpp
)
@@ -179,9 +184,20 @@ SET(sword_base_SOURCES
${sword_base_mgr_SOURCES}
${sword_base_module_SOURCES}
${sword_base_utilfns_SOURCES}
- ${sword_base_binding_SOURCES}
)
+IF(NOT MSVC)
+ SET(sword_base_SOURCES
+ ${sword_base_SOURCES}
+ ${sword_base_binding_SOURCES}
+ )
+ELSE(NOT MSVC)
+ SET(sword_base_SOURCES
+ ${sword_base_SOURCES}
+ ${sword_base_msvc_SOURCES}
+ )
+ENDIF(NOT MSVC)
+
# Sources relying on ZLib
SET(sword_zlib_used_SOURCES
src/modules/common/zipcomprs.cpp