Advertisement
overloop

how_to_build_podofo_win32.txt

Apr 15th, 2015
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. gnuwin32 zlib, freetype
  2. http://gnuwin32.sourceforge.net/packages.html
  3.  
  4. CMAKE_DISABLE_FIND_PACKAGE_CppUnit:BOOL=ON
  5. CMAKE_DISABLE_FIND_PACKAGE_LIBCRYPTO:BOOL=ON
  6. CMAKE_DISABLE_FIND_PACKAGE_LIBIDN:BOOL=ON
  7. CMAKE_DISABLE_FIND_PACKAGE_LIBJPEG:BOOL=ON
  8. CMAKE_DISABLE_FIND_PACKAGE_LIBSTLPORT:BOOL=ON
  9. CMAKE_DISABLE_FIND_PACKAGE_OpenSSL:BOOL=ON
  10. CMAKE_DISABLE_FIND_PACKAGE_PNG:BOOL=ON
  11. CMAKE_DISABLE_FIND_PACKAGE_TIFF:BOOL=ON
  12.  
  13. ZLIB_INCLUDE_DIR:PATH=C:/gnuwin32/include
  14. ZLIB_LIBRARY:FILEPATH=C:/lib/bin/zlib1.dll
  15. ZLIB_LIBRARY_DEBUG:FILEPATH=C:/gnuwin32/bin/zlib1.dll
  16. ZLIB_LIBRARY_RELEASE:FILEPATH=C:/gnuwin32/bin/zlib1.dll
  17.  
  18. FREETYPE_INCLUDE_DIR_FT2BUILD:PATH=C:/gnuwin32/include/freetype2/
  19. FREETYPE_INCLUDE_DIR_FTHEADER:PATH=C:/gnuwin32/include/freetype2/freetype/
  20.  
  21. src\doc\podofo-doc.rc
  22. VALUE "FileVersion", ""
  23.  
  24. SET(CMAKE_CXX_FLAGS "-Wall -Woverloaded-virtual -Wswitch-enum -Wcast-qual -Wwrite-strings -Wredundant-decls -Wreorder")
  25.  
  26. g++ -IC:/lib/include -IC:/lib/include/podofo helloworld.cpp -o hello.exe -LD:\temp\podofo-build\src -lpodofo -LC:\lib\bin -LC:\gnuwin32\bin -lzlib1 -lfreetype6 -lws2_32 -lgdi32
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement