I am including external MS projects via CMake for my C# projects. The
Managed C++ projects I generate via CMake directly. However, sharing
assembly references between the two is difficult.

Sometimes I need my imported C# projects to know where to find the
managed C++ DLL assembly it built. This is in the CMake binary
directory, which might be different on each machine, so I can't
exactly setup a relative path to this file in the C# project
references section.

Likewise with dependencies on C# output from Managed C++. It's a
little easier to tell CMake where to find the output DLL file for a C#
project (since the output location is relative inside the source dir).

How do you guys recommend solving these dependency issues? Is there a
way I can add an assembly reference to a Managed C++ project via path
through CMake?
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to