www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15099] New: C++ projects depend on D projects?


          Issue ID: 15099
           Summary: C++ projects depend on D projects?
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

I have started running into cases where I have C++ projects which depend on D
static lib's.
In the solution dependency configuration, I can configure the C++ exe project
to depend on the VisualD project, but that doesn't setup for automatic linkage
of the lib like C++ lib projects.

Is it possible for VisualD static lib projects to automatically link to C++ exe
projects like usual C++ solutions?

It seems that when I build the C++ exe project, even though the solution see's
a dependency on the VD project, it doesn't actually trigger a rebuild of the D
project, I need to manually right-click and build the VD project to cause it to
be built.

Sep 21 2015