View Issue Details

IDProjectCategoryView StatusLast Update
0031822Open CASCADEOCCT:Configurationpublic2023-02-13 03:43
ReportertizmayloAssigned Tobugmaster  
PrioritynormalSeverityfeature 
Status closedResolutionwon't fix 
Product Version7.0.0 
Target Version7.8.0 
Summary0031822: Configuration, CMake - setting of Debugging properties via target properties instead of template file
DescriptionCurrently Debugging properties of the generated Visual Studio projects are set in CMake configuration files via configuring template files *.user.in. E.g., look at /CMakeLists.txt:1002:

OCCT_CONFIGURE ("adm/templates/DRAWEXE.vcxproj.user.in" "${CMAKE_BINARY_DIR}/src/DRAWEXE/DRAWEXE.vcxproj.user")

In modern versions of CMake some target and directory properties were introduced for this purpose:

The example of use of such properties:

set_target_properties (${PROJECT_NAME} PROPERTIES VS_DEBUGGER_ENVIRONMENT "${VisualStudio_DebuggerEnvironment}")
set_property (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${PROJECT_NAME})

The most recent of these properties were introduced in CMake 3.13 that was released in November 2018, almost two years ago. So it can be used in OCCT CMake configuration files as stable enough.
TagsNo tags attached.
Test case number

Relationships

child of 0026388 closedabv Setting debugging environment of the Visual Studio solution of OCCT generated by CMake 

Activities

vglukhik

2023-02-13 03:43

administrator   ~0113133

not relevant. closed.

Issue History

Date Modified Username Field Change
2020-10-05 10:16 tizmaylo New Issue
2020-10-05 10:16 tizmaylo Assigned To => bugmaster
2020-10-05 10:22 tizmaylo Description Updated
2020-10-05 10:24 tizmaylo Description Updated
2020-10-05 10:24 tizmaylo Description Updated
2021-09-20 11:11 kgv Target Version 7.6.0 => 7.7.0
2021-09-20 11:11 kgv Severity minor => feature
2021-10-18 14:26 kgv Summary Configuration - Setting of Debugging properties in CMake via target properties instead of template file => Configuration, CMake - setting of Debugging properties via target properties instead of template file
2021-10-18 14:27 kgv Relationship added child of 0026388
2021-10-18 14:27 kgv Product Version => 7.0.0
2021-12-16 19:05 kgv Steps to Reproduce Updated
2021-12-16 19:05 kgv Steps to Reproduce Updated
2022-10-24 10:39 szy Target Version 7.7.0 => 7.8.0
2023-02-13 03:43 vglukhik Status new => closed
2023-02-13 03:43 vglukhik Resolution open => won't fix
2023-02-13 03:43 vglukhik Note Added: 0113133