You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
531 B

cmake_minimum_required( VERSION 3.8.0 )
project(cs-tutorial-depth)
add_executable(${PROJECT_NAME}
Program.cs
Properties/AssemblyInfo.cs
)
set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DOTNET_TARGET_FRAMEWORK_VERSION "v${DOTNET_VERSION_EXAMPLES}")
# set_property(TARGET ${PROJECT_NAME} PROPERTY WIN32_EXECUTABLE TRUE)
add_dependencies(${PROJECT_NAME} Intel.RealSense)
set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DOTNET_REFERENCES
"System"
)
set_target_properties (${PROJECT_NAME} PROPERTIES
FOLDER Wrappers/csharp
)