Commit 5c3f67ff authored by Sreekanth Arikatla's avatar Sreekanth Arikatla

REFAC: Arrange the targets into respective folders

All example targets into 'Examples'
All the data retrieving targers into the 'Examples/Data'
All imstk libraries and uncrustify utility target into 'iMSKT'
Testing targets into 'Testing'
parent c360ad35
...@@ -122,3 +122,8 @@ ExternalProject_Add( ${PROJECT_NAME} ...@@ -122,3 +122,8 @@ ExternalProject_Add( ${PROJECT_NAME}
-D${PROJECT_NAME}_ENABLE_VR:BOOL=${${PROJECT_NAME}_ENABLE_VR} -D${PROJECT_NAME}_ENABLE_VR:BOOL=${${PROJECT_NAME}_ENABLE_VR}
DEPENDS ${${PROJECT_NAME}_DEPENDENCIES} DEPENDS ${${PROJECT_NAME}_DEPENDENCIES}
) )
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER iMSTK)
...@@ -91,6 +91,11 @@ macro(imstk_add_external_project extProj) ...@@ -91,6 +91,11 @@ macro(imstk_add_external_project extProj)
DEPENDS ${${extProj}_DEPENDENCIES} # from parsed argument DEPENDS ${${extProj}_DEPENDENCIES} # from parsed argument
) )
set(${extProj}_DIR ${${extProj}_BINARY_DIR}) set(${extProj}_DIR ${${extProj}_BINARY_DIR})
#-----------------------------------------------------------------------------
# Add the target to ExternalDeps folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${extProj} PROPERTIES FOLDER ExternalDeps)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# If project already built on system # If project already built on system
......
...@@ -102,5 +102,12 @@ function(imstk_add_library target) ...@@ -102,5 +102,12 @@ function(imstk_add_library target)
LIBRARY DESTINATION ${iMSTK_INSTALL_LIB_DIR} COMPONENT RuntimeLibraries LIBRARY DESTINATION ${iMSTK_INSTALL_LIB_DIR} COMPONENT RuntimeLibraries
ARCHIVE DESTINATION ${iMSTK_INSTALL_LIB_DIR} COMPONENT Development ARCHIVE DESTINATION ${iMSTK_INSTALL_LIB_DIR} COMPONENT Development
) )
#-----------------------------------------------------------------------------
# Add the target to imstk folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${target} PROPERTIES FOLDER iMSTK)
endfunction() endfunction()
...@@ -120,6 +120,11 @@ function(imstk_add_test target) ...@@ -120,6 +120,11 @@ function(imstk_add_test target)
${GoogleTest_LIBRARIES} ${GoogleTest_LIBRARIES}
Threads::Threads Threads::Threads
) )
#-----------------------------------------------------------------------------
# Add the target to Testing folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${test_driver_executable} PROPERTIES FOLDER Testing)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Create tests # Create tests
......
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
COMMENT "Run uncrustify - overwrites source files" COMMENT "Run uncrustify - overwrites source files"
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
) )
#-----------------------------------------------------------------------------
# Add the target to iMSTK folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (uncrustifyRun PROPERTIES FOLDER iMSTK)
if(BUILD_TESTING) if(BUILD_TESTING)
# Add test to check style using uncrustify # Add test to check style using uncrustify
......
...@@ -69,4 +69,9 @@ function(imstk_add_data target) ...@@ -69,4 +69,9 @@ function(imstk_add_data target)
# Add a build target to populate the real data. # Add a build target to populate the real data.
ExternalData_Add_Target(${target}ExternalData) ExternalData_Add_Target(${target}ExternalData)
#-----------------------------------------------------------------------------
# Add the target to Examples/Data folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${target}ExternalData PROPERTIES FOLDER Examples/Data)
endfunction() endfunction()
...@@ -30,6 +30,8 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) ...@@ -30,6 +30,8 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo") set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif() endif()
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Project build directories # Project build directories
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-Audio) ...@@ -23,6 +23,11 @@ project(Example-Audio)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} AudioExample.cpp) add_executable(${PROJECT_NAME} AudioExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -25,6 +25,11 @@ if(iMSTK_USE_OMNI) ...@@ -25,6 +25,11 @@ if(iMSTK_USE_OMNI)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} BoneDrillingExample.cpp) add_executable(${PROJECT_NAME} BoneDrillingExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -24,6 +24,11 @@ if(iMSTK_USE_OMNI) ...@@ -24,6 +24,11 @@ if(iMSTK_USE_OMNI)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} CameraControllerExample.cpp) add_executable(${PROJECT_NAME} CameraControllerExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -27,6 +27,11 @@ add_executable(${PROJECT_NAME} ManualCDWithOctreeExample.cpp ...@@ -27,6 +27,11 @@ add_executable(${PROJECT_NAME} ManualCDWithOctreeExample.cpp
../Triangle.cpp ../Triangle.cpp
../BunnyMesh.cpp) ../BunnyMesh.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-DebugRendering) ...@@ -23,6 +23,11 @@ project(Example-DebugRendering)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} DebugRenderingExample.cpp) add_executable(${PROJECT_NAME} DebugRenderingExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-DeformableBody) ...@@ -23,6 +23,11 @@ project(Example-DeformableBody)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} DeformableBodyExample.cpp) add_executable(${PROJECT_NAME} DeformableBodyExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -22,6 +22,11 @@ project(Example-ExtractSurface) ...@@ -22,6 +22,11 @@ project(Example-ExtractSurface)
# Create executable # Create executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} ExtractSurfaceExample.cpp) add_executable(${PROJECT_NAME} ExtractSurfaceExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
......
...@@ -25,6 +25,11 @@ if(iMSTK_USE_Vulkan) ...@@ -25,6 +25,11 @@ if(iMSTK_USE_Vulkan)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} GUIOverlayExample.cpp) add_executable(${PROJECT_NAME} GUIOverlayExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-GeometryTransforms) ...@@ -23,6 +23,11 @@ project(Example-GeometryTransforms)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} GeometryTransformsExample.cpp) add_executable(${PROJECT_NAME} GeometryTransformsExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-Graph) ...@@ -23,6 +23,11 @@ project(Example-Graph)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} GraphExample.cpp) add_executable(${PROJECT_NAME} GraphExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-LineMesh) ...@@ -23,6 +23,11 @@ project(Example-LineMesh)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} LineMeshExample.cpp) add_executable(${PROJECT_NAME} LineMeshExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-MeshIO) ...@@ -23,6 +23,11 @@ project(Example-MeshIO)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} MeshIOExample.cpp) add_executable(${PROJECT_NAME} MeshIOExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-MshVegaIO) ...@@ -23,6 +23,11 @@ project(Example-MshVegaIO)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} MshVegaIOExample.cpp) add_executable(${PROJECT_NAME} MshVegaIOExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-NoRendering) ...@@ -23,6 +23,11 @@ project(Example-NoRendering)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} noRenderingExample.cpp) add_executable(${PROJECT_NAME} noRenderingExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -24,6 +24,11 @@ if(iMSTK_USE_OMNI) ...@@ -24,6 +24,11 @@ if(iMSTK_USE_OMNI)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} ObjectControllerExample.cpp) add_executable(${PROJECT_NAME} ObjectControllerExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-ObjectControllerDummyClient) ...@@ -23,6 +23,11 @@ project(Example-ObjectControllerDummyClient)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} ObjectCtrlDummyClientExample.cpp) add_executable(${PROJECT_NAME} ObjectCtrlDummyClientExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-Octree) ...@@ -23,6 +23,11 @@ project(Example-Octree)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} OctreeExample.cpp BunnyMesh.cpp) add_executable(${PROJECT_NAME} OctreeExample.cpp BunnyMesh.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-PBDCloth) ...@@ -23,6 +23,11 @@ project(Example-PBDCloth)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} pbdClothExample.cpp) add_executable(${PROJECT_NAME} pbdClothExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-PBDCollision-ManyDragons) ...@@ -23,6 +23,11 @@ project(Example-PBDCollision-ManyDragons)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} PBDCollisionManyDragonsExample.cpp) add_executable(${PROJECT_NAME} PBDCollisionManyDragonsExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-PBDCollision-OneDragon) ...@@ -23,6 +23,11 @@ project(Example-PBDCollision-OneDragon)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} PBDCollisionOneDragonExample.cpp) add_executable(${PROJECT_NAME} PBDCollisionOneDragonExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-PBDFluids) ...@@ -23,6 +23,11 @@ project(Example-PBDFluids)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} PBDFluidsExample.cpp) add_executable(${PROJECT_NAME} PBDFluidsExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-PBDVolume) ...@@ -23,6 +23,11 @@ project(Example-PBDVolume)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} PBDVolumeExample.cpp) add_executable(${PROJECT_NAME} PBDVolumeExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-PlotVectors) ...@@ -23,6 +23,11 @@ project(Example-PlotVectors)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} PlotVectorsExample.cpp) add_executable(${PROJECT_NAME} PlotVectorsExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-Rendering) ...@@ -23,6 +23,11 @@ project(Example-Rendering)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} RenderingExample.cpp) add_executable(${PROJECT_NAME} RenderingExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-SPHFluid-BallDrop) ...@@ -23,6 +23,11 @@ project(Example-SPHFluid-BallDrop)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} SPHFluid-BallDrop.cpp) add_executable(${PROJECT_NAME} SPHFluid-BallDrop.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-SPHFluid-BunnyShape) ...@@ -23,6 +23,11 @@ project(Example-SPHFluid-BunnyShape)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} SPHFluid-BunnyShape.cpp Bunny.cpp) add_executable(${PROJECT_NAME} SPHFluid-BunnyShape.cpp Bunny.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-SPHFluid-HighViscousity) ...@@ -23,6 +23,11 @@ project(Example-SPHFluid-HighViscousity)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} SPHFluid-HighViscousity.cpp) add_executable(${PROJECT_NAME} SPHFluid-HighViscousity.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -23,6 +23,11 @@ project(Example-SceneManagement) ...@@ -23,6 +23,11 @@ project(Example-SceneManagement)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} SceneManagementExample.cpp) add_executable(${PROJECT_NAME} SceneManagementExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -22,6 +22,11 @@ project(Example-Screenshot) ...@@ -22,6 +22,11 @@ project(Example-Screenshot)
# Create executable # Create executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} ScreenshotExample.cpp) add_executable(${PROJECT_NAME} ScreenshotExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
......
...@@ -22,6 +22,11 @@ project(Example-Viewer) ...@@ -22,6 +22,11 @@ project(Example-Viewer)
# Create executable # Create executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} ViewerExample.cpp) add_executable(${PROJECT_NAME} ViewerExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
......
...@@ -23,6 +23,11 @@ if(iMSTK_USE_OMNI) ...@@ -23,6 +23,11 @@ if(iMSTK_USE_OMNI)
# Create executable # Create executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} VirtualCouplingExample.cpp) add_executable(${PROJECT_NAME} VirtualCouplingExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add shaders # Add shaders
......
...@@ -24,6 +24,11 @@ if(iMSTK_USE_Vulkan) ...@@ -24,6 +24,11 @@ if(iMSTK_USE_Vulkan)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} VulkanDecalsExample.cpp) add_executable(${PROJECT_NAME} VulkanDecalsExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
...@@ -24,6 +24,11 @@ if(iMSTK_USE_Vulkan) ...@@ -24,6 +24,11 @@ if(iMSTK_USE_Vulkan)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
add_executable(${PROJECT_NAME} VulkanParticlesExample.cpp) add_executable(${PROJECT_NAME} VulkanParticlesExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Link libraries to executable # Link libraries to executable
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment