Kouhei Sutou
null+****@clear*****
Fri May 13 14:06:53 JST 2016
Kouhei Sutou 2016-05-13 14:06:53 +0900 (Fri, 13 May 2016) New Revision: 34d304287e67174f1c1ba2e0fca0e58a0d93d874 https://github.com/groonga/groonga/commit/34d304287e67174f1c1ba2e0fca0e58a0d93d874 Message: cmake windows mruby: export symbols Modified files: vendor/mruby/CMakeLists.txt Modified: vendor/mruby/CMakeLists.txt (+6 -0) =================================================================== --- vendor/mruby/CMakeLists.txt 2016-05-13 11:07:01 +0900 (12a7600) +++ vendor/mruby/CMakeLists.txt 2016-05-13 14:06:53 +0900 (8d450e4) @@ -86,6 +86,12 @@ if(GRN_WITH_MRUBY) set(MRUBY_C_COMPILE_FLAGS "${MRUBY_C_COMPILE_FLAGS} -Wno-bad-function-cast") endif() + if(WIN32) + add_definitions( + "-DMRB_BUILD_AS_DLL" + "-DMRB_CORE" + ) + endif() set_source_files_properties(${MRUBY_ALL_SOURCES} PROPERTIES COMPILE_FLAGS "${MRUBY_C_COMPILE_FLAGS}") -------------- next part -------------- HTML����������������������������...Download