Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Create CMake file from Visual Studio Project

I have finished a project developed in Visual Studio 2013 (Windows) using OpenCV. Now, my manager told me he needs the code files and the CMAKE file.

I'm reading this documents:

  • https://cognitivewaves.wordpress.com/cmake-and-visual-studio/
  • http://www.cmake.org/cmake-tutorial/

but I don't understand properly and I don't know if they are what I need...

I can explain a little bit more my project: My project has:

  • main.cpp
  • Some .cpp created by myshelf.
  • Some .h created by myshelf.
  • I use OpenCV libraries.
  • I use Vimba libraries.

I have never worked with CMAKE files... Could anyone lead me about how create this file/s?? I'm really missed...

THANKS in advance!!! Any help is welcome!

Create CMake file from Visual Studio Project

I have finished a project developed in Visual Studio 2013 (Windows) using OpenCV. Now, my manager told me he needs the code files and the CMAKE file.

I'm reading this documents:

  • https://cognitivewaves.wordpress.com/cmake-and-visual-studio/
  • http://www.cmake.org/cmake-tutorial/

but I don't understand properly and I don't know if they are what I need...

I can explain a little bit more my project: My project has:

  • main.cpp
  • Some .cpp created by myshelf.
  • Some .h created by myshelf.
  • I use OpenCV libraries.libraries (lib, dll, ...).
  • I use Vimba libraries.libraries (lib, dll, ...).

I have never worked with CMAKE files... Could anyone lead me about how create this file/s?? I'm really missed...

THANKS in advance!!! Any help is welcome!