adding reference to native visual c++ project -
i have 2 visual c++ projects in solution. first 1 (lets call main) native code. second 1 (test), has main added reference. test contains unit tests methods in main.
when add main reference test , try compile - errors library not found. adding project reference , not add output target path of main library directories of test ?
i don't know vc doing under hood, adding reference project doesn't seem have effect of linking libraries unlike c#.
you can use code project including , linking via usual method of c++.
Comments
Post a Comment