!3035 Refactoring for base and abstract types.
Merge pull request !3035 from ZhangQinghua/masterpull/3035/MERGE
commit
f65586cefa
@ -0,0 +1,3 @@
|
||||
file(GLOB_RECURSE _ABSTRACT_ALL_SRC_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cc")
|
||||
set_property(SOURCE ${_ABSTRACT_ALL_SRC_FILES} PROPERTY COMPILE_DEFINITIONS SUBMODULE_ID=mindspore::SubModuleId::SM_ABSTRACT)
|
||||
add_library(_mindspore_abstract_obj OBJECT ${_ABSTRACT_ALL_SRC_FILES})
|
@ -0,0 +1,3 @@
|
||||
file(GLOB_RECURSE _BASE_ALL_SRC_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cc")
|
||||
set_property(SOURCE ${_BASE_ALL_SRC_FILES} PROPERTY COMPILE_DEFINITIONS SUBMODULE_ID=mindspore::SubModuleId::SM_BASE)
|
||||
add_library(_mindspore_base_obj OBJECT ${_BASE_ALL_SRC_FILES})
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue