Skip to content

Commit bc476e6

Browse files
authored
Organize targets into Bindings folder (sofa-framework#269)
1 parent b6042b7 commit bc476e6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

bindings/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ add_library(SofaPython3::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
3434

3535
foreach(bindings_module ${BINDINGS_MODULE_LIST})
3636
target_link_libraries(${PROJECT_NAME} INTERFACE ${PROJECT_NAME}.${bindings_module})
37+
set_target_properties(${PROJECT_NAME}.${bindings_module} PROPERTIES FOLDER "Bindings")
3738
endforeach()
3839

3940
sofa_create_component_in_package_with_targets(

bindings/Sofa/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ add_library(SofaPython3::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
2424

2525
foreach(sofabindings_module ${SOFABINDINGS_MODULE_LIST})
2626
target_link_libraries(${PROJECT_NAME} INTERFACE ${PROJECT_NAME}.${sofabindings_module})
27+
set_target_properties(${PROJECT_NAME}.${sofabindings_module} PROPERTIES FOLDER "Bindings/Sofa")
2728
endforeach()
2829

2930
if(SP3_BUILD_TEST)

0 commit comments

Comments
 (0)