DiscussionsIssue archiveOCCT:Configuration

Archived issue #0026648

Configuration - set default path for start of DRAWEXE under Visual Studio debugger

Open CASCADEOCCT:Configurationclosed5 public notes

Search issues

Description

Currently when DRAWEXE is launched directly from Visual Studio, current directory is set by Visual equal to location of project file (e.g. $CASROOT/adm/msvc/vc10/).

Current directory is used by DRAW to search for DrawAppliInit customization file. Normally it is located in $CASROOT, which is current directory when DRAWEXE is launched by draw.bat. It does not get loaded when DRAW is started from Visual with default settings, and local customizations become unavailable.

To improve this, Visual Studio project files generated by genproj (and probably CMake) can be customized to set default current directory for launching DRAW to $CASROOT.

Steps to reproduce

start of DRAWEXE under Visual Studio debugger

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon Sep 7 06:23:16 2015 +0300

    0026648: Configuration - set default path for start of DRAWEXE under Visual Studio debugger
    
    Default path for starting executable from Visual Studio debugger set to be $CASROOT in project files generated by genproj
02Commenter 2
Ivan, I have set default path for DRAW in genproj generator; please check if the same can be done in CMake generation
03Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: ibs
Date: Mon Sep 14 14:19:22 2015 +0300

    0026648: Configuration - set default path for start of DRAWEXE under Visual Studio debugger
    
    Default path for starting DRAWEXE executable from Visual Studio debugger set to be CMake binary directory in project files generated by CMake

04Commenter 4
No remarks, please test
05Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]