My project hierarchy goes as follows:
Shared Files
A.cpp
A.h
B.h
C.h
C.cpp (includes B.h, PA.h)
ProjectDirectory
PA.cpp
PA.h (includes B.h)
I added action in “Custom Build Steps” to copy the ‘Shared Files’ directory to remote computer. All files (Shared Files and Project Directory) are copied into single directory on to remote target before build starts (which is to be expected)
Note: Custom Build action worked only with absolute path not relative.
Still I see build error
1>make[1]: *** No rule to make target ‘../Shared’, needed by ‘VisualGDB/Debug/A.o’. Stop.
1>make: *** [VisualGDB/Debug/<ProjectName>.msbuild-mak:14: all] Error 2
-
This reply was modified 6 years, 7 months ago by
bachabharat.
Attachments:
You must be
logged in to view attached files.