/OpenCV-CMake-Project-Generator

Generates CMakeList.txt and main.cpp for OpenCV projects

Primary LanguageC++MIT LicenseMIT

OpenCV-CMake-Project-Generator

Generates CMakeList.txt and main.cpp for OpenCV projects

Compile with C++17 or modify parameter.cpp Only tested on Linux

Use: ocvCMake -c|-cpp [C/C++ Standard (Optional)] -cmp [Compilername] -d [Target directory] -n [Projectname]

E.g ocvCMake -cpp c++1z -cm clang++ -d ~/projects/test -n TestProject

-c|-cpp and -cmp are optional parameters If not specified the application will generate cpp projects.

it will ALWAYS generate a main.cpp, if you created a C project, change main.cpp to main.c!!!