MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031822Open CASCADE[OCCT] OCCT:Configurationpublic2020-10-05 10:162020-10-05 17:01
Reportertizmaylo 
Assigned Tobugmaster 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.6.0*Fixed in Version 
Summary0031822: Configuration - Setting of Debugging properties in CMake 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
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- 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 View Revisions
2020-10-05 10:24 tizmaylo Description Updated View Revisions
2020-10-05 10:24 tizmaylo Description Updated View Revisions


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker