File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed
Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 11project (Bindings.Sofa)
22
3- set (SOFABINDINGS_MODULE_LIST Core Helper Simulation Types)
3+ set (SOFABINDINGS_MODULE_LIST
4+ Components
5+ Core
6+ Helper
7+ Simulation
8+ Types
9+ )
410
511foreach (sofabindings_module ${SOFABINDINGS_MODULE_LIST} )
612 add_subdirectory (src/SofaPython3/Sofa/${sofabindings_module} )
Original file line number Diff line number Diff line change 3939import Sofa .Core
4040import Sofa .Simulation
4141import Sofa .Types
42- # import Sofa.Components
42+ import Sofa .Components
4343import SofaTypes
4444
4545from .prefab import *
Original file line number Diff line number Diff line change @@ -49,7 +49,13 @@ sofa_auto_set_target_rpath(
4949
5050add_test (NAME ${PROJECT_NAME} COMMAND ${PROJECT_NAME} )
5151
52- set (DIR_BINDING_LIST Components Core Helper Simulation Types)
52+ set (DIR_BINDING_LIST
53+ Components
54+ Core
55+ Helper
56+ Simulation
57+ Types
58+ )
5359get_property (_isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
5460foreach (dir_binding ${DIR_BINDING_LIST} )
5561 if (_isMultiConfig) # MSVC
Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ static struct PythonModule_Sofa_tests : public PythonTestExtractor
5353 PythonModule_Sofa_tests ()
5454 {
5555 const std::string executable_directory = sofa::helper::Utils::getExecutableDirectory ();
56- addTestDirectory (executable_directory+" /Components" , " Sofa_Components_" );
5756 addTestDirectory (executable_directory+" /Core" , " Sofa_Core_" );
5857 addTestDirectory (executable_directory+" /Helper" , " Sofa_Helper_" );
5958 addTestDirectory (executable_directory+" /Simulation" , " Sofa_Simulation_" );
6059 addTestDirectory (executable_directory+" /Types" , " Sofa_Types_" );
60+ addTestDirectory (executable_directory+" /Components" , " Sofa_Components_" );
6161 }
6262} python_tests;
6363
You can’t perform that action at this time.
0 commit comments