packaging.txt 649 Bytes
Newer Older
1 2 3 4 5 6

INSTRUCTIONS TO BUILD WIN32 PACKAGES WITH CMAKE+CPACK
------------------------------------------------------

- Install NSIS.
- Generate OpenCV solutions for MSVC using CMake as usual.
7 8 9 10 11
- In cmake-gui:
    - Mark BUILD_PACKAGE
    - Mark BUILD_EXAMPLES (If examples are desired to be shipped as binaries...)
    - Unmark ENABLE_OPENMP, since this feature seems to have some issues yet...
    - Mark INSTALL_*_EXAMPLES
12
- Open the OpenCV solution and build ALL in Debug and Release.
13
- Build PACKAGE, from the Release configuration. An NSIS installer package will be
14 15
  created with both release and debug LIBs and DLLs.

16

17
Jose Luis Blanco, 2009/JUL/29