Re: [CMake] Adding Target to sibling

2012-09-07 Thread Valentine S.
Seems, there is no easy way. You can use the hack http://stackoverflow.com/questions/7658694/how-to-tell-cmake-that-install-directory-depends-on-phony-target . 2012/9/7 Totte Karlsson > Hi, > I have a c++ library with some wrappers. > The wrappers are in two folders ./Wrappers/C and ./Wrappers/

[CMake] Automatic dependent files copying

2012-04-09 Thread Valentine S.
Example: add_library(lib1 SHARED IMPORTED) add_library(lib2 SHARED IMPORTED) ... add_executable(program sources) target_link_libraries(program lib1 lib2 ...) I want to make the libraries has been copied to program output path. Does exist an easy way to realize it? -- Valentin Sarychev Software

[CMake] include_external_msproject for MS Visual Studio *.csproj

2012-03-30 Thread Valentine S.
I have several C++ projects (library, tests, examples) for Linux and Windows. This projects are generated by CMake (Makefile for Linux, *.vcproj for Windows MS Visual Studio). And I have C++/CLI (C++ library wrapper) and C# projects (tests, examples). This projects are written in MS Visual Studio a