summaryrefslogtreecommitdiff
path: root/win/cmakefiles/extra
diff options
context:
space:
mode:
Diffstat (limited to 'win/cmakefiles/extra')
-rw-r--r--win/cmakefiles/extra9
1 files changed, 9 insertions, 0 deletions
diff --git a/win/cmakefiles/extra b/win/cmakefiles/extra
new file mode 100644
index 00000000000..d73d961e7b6
--- /dev/null
+++ b/win/cmakefiles/extra
@@ -0,0 +1,9 @@
+SET(CMAKE_CXX_FLAGS_DEBUG "-DSAFEMALLOC -DSAFE_MUTEX")
+SET(CMAKE_C_FLAGS_DEBUG "-DSAFEMALLOC -DSAFE_MUTEX")
+
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
+
+ADD_EXECUTABLE(comp_err comp_err.c)
+TARGET_LINK_LIBRARIES(comp_err dbug mysys strings wsock32)
+
+