Navigation Menu

Skip to content

Commit

Permalink
cmake win32: add TODO: note about DBUG_OFF and _CRT_SECURE_NO_WARNINGS
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Oct 11, 2012
1 parent 55827d2 commit fd74c6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -102,6 +102,10 @@ set(DEFAULT_PARSER "TokenBigram" CACHE STRING "The default fulltext parser")
set_property(TARGET ha_mroonga APPEND PROPERTY
COMPILE_DEFINITIONS "MRN_PARSER_DEFAULT=\"${DEFAULT_PARSER}\"")
if(WIN32)
# TODO: set DBUG_OFF to link with MySQL release/debug import library.
# it is better that you can customize this definition.
# TODO: support security enhancements introduced in the CRT.
# http://msdn.microsoft.com/en-us/library/8ef0s5kh%28v=vs.90%29.aspx
set_property(TARGET ha_mroonga APPEND PROPERTY
COMPILE_DEFINITIONS "DBUG_OFF" "_CRT_SECURE_NO_WARNINGS")
endif()
Expand Down

0 comments on commit fd74c6b

Please sign in to comment.