|
|
@@ -224,10 +224,6 @@ if(WIN32 OR MSVC) |
|
|
|
target_compile_definitions(megdnn PRIVATE MGE_DLL_EXPORT) |
|
|
|
target_compile_definitions(megengine PRIVATE MGE_DLL_EXPORT) |
|
|
|
target_compile_definitions(megengine_shared PRIVATE MGE_DLL_EXPORT) |
|
|
|
target_compile_definitions(megbrain PRIVATE MGE_DLL_EXPORT_DATA) |
|
|
|
target_compile_definitions(megdnn PRIVATE MGE_DLL_EXPORT_DATA) |
|
|
|
target_compile_definitions(megengine PRIVATE MGE_DLL_EXPORT_DATA) |
|
|
|
target_compile_definitions(megengine_shared PRIVATE MGE_DLL_EXPORT_DATA) |
|
|
|
# please do not use WINDOWS_EXPORT_ALL_SYMBOLS, as symbols max than 65535 when build with CUDA |
|
|
|
#set_target_properties(megengine PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE) |
|
|
|
#set_target_properties(megengine_shared PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE) |
|
|
|