aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6546b69..5bf15df 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,6 +9,17 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
include(CMakeDependentOption)
include(GNUInstallDirs)
+option(STORM_UNICODE "Compile UNICODE version instead of ANSI one (Visual Studio only)" OFF)
+
+if(WIN32)
+ if(STORM_UNICODE)
+ message(STATUS "Build UNICODE version")
+ add_definitions(-DUNICODE -D_UNICODE)
+ else()
+ message(STATUS "Build ANSI version")
+ endif()
+endif()
+
option(BUILD_SHARED_LIBS "Compile shared libraries" OFF)
option(STORM_SKIP_INSTALL "Skip installing files" OFF)
option(STORM_USE_BUNDLED_LIBRARIES