8 Commits

Author SHA1 Message Date
Dan Dennedy
3d288d95a7 fix missing POST_BUILD 2025-04-07 14:26:17 +02:00
Dan Dennedy
1f8e21e27f Fix bad add_custom_command() in distclean target
`add_custom_command()` has 2 formats: OUTPUT and TARGET. This is TARGET,
but TARGET does not permit OUTPUT.

see https://cmake.org/cmake/help/v3.31/policy/CMP0175.html
and https://cmake.org/cmake/help/v3.31/command/add_custom_command.html

Also, I converted to now-prefered lowercase (only lowercase works in my
IDE to pull up context-sensitive help for CMake). And I replaced a Make-
oriented COMMAND on `add_custom_target()` to a proper `COMMENT`.
2025-04-07 14:26:17 +02:00
Peter Eszlari
db45e9320b fix MSVC compilation
The following filters needed to be disabled because of
Variable Length Arrays (VLA), but are enabled when
compiling with clang-cl:

* curves
* d90stairsteppingfix
* dither
2022-12-27 16:45:20 +01:00
Raphael Graf
a93eea4e18 Remove FindOpenCV.cmake
Resolves #70
2019-01-12 14:11:07 +01:00
Janne Liljeblad
47a479ba5e Add Cairo build support 2012-11-30 19:37:51 -08:00
Jaromil
5d825c423f added distclean target to cmake
for better cleanup when making releases
also added cmake build files in .gitignore
2010-09-13 11:59:40 +02:00
Jean-Baptiste Mardelle
5ee9bb5820 CMake build fixes.
Not sure what's the status of the CMake build system, but it has
problems finding the OpenCV library. Below is a patch using pkg-config
instead of the strange stuff used.

This also highlighted the fact that the facebl0r effect has no
CMakeLists.txt in it's directory, a proposal for that file is also just
below.
2010-09-07 22:13:32 -07:00
Joshua M. Doe
2c779be164 build: Add CMake build files
This adds CMakeLists.txt files for all plugins. The motivation for this is to enable building of the plugins within Microsoft Visual Studio. At present plugins that depend on OpenCV or gavl won't build.

While the CMake files can be used on *nix to generate automake build files, at the present time they will not be as feature complete as the build system already in place.

MSVC by default doesn't export functions. A module definition file (DEF) has been created for versions 1.0 and 1.1 which enables exporting of functions under MSVC.
2010-06-20 23:24:13 +02:00