|
@@ -10,7 +10,7 @@ function(build_boxing_module build_static_flag build_shared_flag module_name mod
|
|
|
if (${build_shared_flag})
|
|
if (${build_shared_flag})
|
|
|
add_library("${${module_name}}" SHARED ${${source_files}})
|
|
add_library("${${module_name}}" SHARED ${${source_files}})
|
|
|
enable_strict_warnings(module_name)
|
|
enable_strict_warnings(module_name)
|
|
|
- target_link_libraries("${${module_name}}" ${module_name_core})
|
|
|
|
|
|
|
+ target_link_libraries("${${module_name}}" ${${module_name_core}})
|
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
|
endif ()
|
|
endif ()
|
|
|
endfunction()
|
|
endfunction()
|
|
@@ -50,7 +50,7 @@ function(build_encoding_module build_static_flag build_shared_flag module_name m
|
|
|
if (${build_shared_flag})
|
|
if (${build_shared_flag})
|
|
|
add_library("${${module_name}}" SHARED ${${source_files}})
|
|
add_library("${${module_name}}" SHARED ${${source_files}})
|
|
|
enable_strict_warnings(module_name)
|
|
enable_strict_warnings(module_name)
|
|
|
- target_link_libraries("${${module_name}}" ${module_name_core})
|
|
|
|
|
|
|
+ target_link_libraries("${${module_name}}" ${${module_name_core}})
|
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
|
endif ()
|
|
endif ()
|
|
|
endfunction()
|
|
endfunction()
|
|
@@ -67,7 +67,7 @@ function(build_event_module build_static_flag build_shared_flag module_name modu
|
|
|
if (${build_shared_flag})
|
|
if (${build_shared_flag})
|
|
|
add_library("${${module_name}}" SHARED ${${source_files}})
|
|
add_library("${${module_name}}" SHARED ${${source_files}})
|
|
|
enable_strict_warnings(module_name)
|
|
enable_strict_warnings(module_name)
|
|
|
- target_link_libraries("${${module_name}}" ${module_name_core})
|
|
|
|
|
|
|
+ target_link_libraries("${${module_name}}" ${${module_name_core}})
|
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
|
endif ()
|
|
endif ()
|
|
|
endfunction()
|
|
endfunction()
|
|
@@ -84,7 +84,7 @@ function(build_io_module build_static_flag build_shared_flag module_name module_
|
|
|
if (${build_shared_flag})
|
|
if (${build_shared_flag})
|
|
|
add_library("${${module_name}}" SHARED ${${source_files}})
|
|
add_library("${${module_name}}" SHARED ${${source_files}})
|
|
|
enable_strict_warnings(module_name)
|
|
enable_strict_warnings(module_name)
|
|
|
- target_link_libraries("${${module_name}}" ${module_name_core})
|
|
|
|
|
|
|
+ target_link_libraries("${${module_name}}" ${${module_name_core}})
|
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
|
endif ()
|
|
endif ()
|
|
|
endfunction()
|
|
endfunction()
|
|
@@ -103,12 +103,12 @@ function(build_time_module build_static_flag build_shared_flag build_jni_flag mo
|
|
|
message("${${module_name}}: building with JNI...")
|
|
message("${${module_name}}: building with JNI...")
|
|
|
add_library("${${module_name}}" SHARED ${${source_files}} ${${source_files_linux}} ${${source_files_windows}} ${${source_files_jni}})
|
|
add_library("${${module_name}}" SHARED ${${source_files}} ${${source_files_linux}} ${${source_files_windows}} ${${source_files_jni}})
|
|
|
enable_strict_warnings(module_name)
|
|
enable_strict_warnings(module_name)
|
|
|
- target_link_libraries("${${module_name}}" ${module_name_core})
|
|
|
|
|
|
|
+ target_link_libraries("${${module_name}}" ${${module_name_core}})
|
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
|
else ()
|
|
else ()
|
|
|
add_library("${${module_name}}" SHARED ${${source_files}} ${${source_files_linux}} ${${source_files_windows}})
|
|
add_library("${${module_name}}" SHARED ${${source_files}} ${${source_files_linux}} ${${source_files_windows}})
|
|
|
enable_strict_warnings(module_name)
|
|
enable_strict_warnings(module_name)
|
|
|
- target_link_libraries("${${module_name}}" ${module_name_core})
|
|
|
|
|
|
|
+ target_link_libraries("${${module_name}}" ${${module_name_core}})
|
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
|
|
|
endif ()
|
|
endif ()
|
|
|
endif ()
|
|
endif ()
|