ES-DE/external/CImg/resources/compile_win_visualcpp.bat

16 lines
1.1 KiB
Batchfile
Raw Normal View History

REM ----------------------------------------------------------------
REM
REM Script to compile CImg examples, using Microsoft Visual C++.
REM
REM Copy this script into 'CImg/examples/' and run it to compile
REM all examples.
REM
REM ----------------------------------------------------------------
CD ..\examples\
SET CPPFILE=CImg_demo captcha curve_editor2d dtmri_view3d edge_explorer2d fade_images gaussian_fit1d generate_loop_macros hough_transform2d image2ascii image_registration2d image_surface3d jawbreaker mcf_levelsets2d mcf_levelsets3d odykill pde_heatflow2d pde_TschumperleDeriche2d plotter1d radon_transform2d scene3d spherical_function3d tetris tron tutorial wavelet_atrous use_chlpca use_draw_gradient use_nlmeans use_RGBclass use_skeleton
FOR %%F IN (%CPPFILE%) DO (
Squashed 'external/CImg/' changes from 4d061dcd6..049267da1 049267da1 . d974f83e1 . 143c6f781 . 8b641fa30 . 79ab52e6f . 593667dcf Auto-commit for release 3.2.6_pre a5305a976 . 6fa06681b . cdc9ee87a . 5f40398d1 Start work on next version 3.2.6. 78d1f0d7d Final release 3.2.5 620e4155c . be214a006 . 1f9896c3a Add support for 'id#ind' in math parser. 44800102a Add support for 'id#ind' in math parser. a6657d3d1 Auto-commit for release 3.2.5_pre 70e9a2cc3 . a77287fe0 . 05fd7a869 . 81c22bb46 . 1f14f5eff . bd1228f0f . 19e44e564 . 3f19980fc Start work on v.3.2.5. 504f5c653 . 26862961d Fix line width. 860b3747d Optimize cimg_math_parser::mp_vector_norm() by avoiding copies. 44eb192e9 . c8d8710ee . 1cf8f5c27 . 7b6ec0809 . 99871e252 Simplify CImg<T>::draw_polygon() and CImg<T>::draw_line(). 30ec22fde . a2c50471e . d2f63a9f8 Fix possible issue in 'CImg::draw_polygon()' (better fix). e0675260c Fix possible issue in 'CImg::draw_polygon()'. bb9980723 . c431612a1 . 3606c5f5b Auto-commit for release 3.2.4_pre d5d63e21f . acea91b06 . 9a3c772fa . ccb519bc0 . 9bf62d16b . 0936bc4b7 math evaluator: Add function 'unitnorm(V,p). 5236bd690 . 95ff538e1 . 3285740e9 . 7d01d9b70 Start work on 3.2.4 c7868e298 . 903cc805d . f03139316 math_parser(): Add function 'c2o()' (coordinates to offset). ff49ec20f math_parser(): Add function 'o2c()' (offset to coordinates). 6cbef2c1d Start working on version 3.2.3 ba9bb02a8 Final release 3.2.2 998d0157c . 1bb2d4f00 . 722646c42 Attempt to fix compilation on Windows. 2f3c64511 . 113a16334 . e67bdf5d9 . 31fe9269c . 64839222d Better support of 'CImg<unsigned long long>' and 'CImg<long long>'. 32b3bb6ff Add specific cimg::type() traits for 'unsigned long long' and 'long long'. 806ef2861 Start work on 3.2.2 b558be730 Final release 3.2.1 85aa2ac2e . bcafdc4d9 . a6961a5bd . 33b78048e . 3c063517e . 9c76c1842 . 87863667a . d60290f8d . 3b75fa436 . f1815c88a . 6f575e662 . 5d6be92b4 Allow dynamic arrays to have larger size (32bits integers, i.e 2G elements). c7d1772b8 . 977a1bb81 . 2cf046326 . 54d2b753c . f4a0f772d . d11a0380e . 4828190aa math_parser: Check that specified '#index' of functions are not NaN. 3b71fa0ce Function 'v2s()': Add option to 0-pad integer values. 652e6604b . ea3197ce4 Fix #374 c88e03819 math_parser: Add function that computes the square root of complex numbers. b58775209 Add detection of the not operator in fast pre-evaluation of math expressions. 5e3585553 Add detection of the not operator in fast pre-evaluation of math expressions. 209c38da9 . 6ba3d0a11 Fix #319. 4e9412e8d Start work on next version 3.2.1 57028920e . 9772e0204 . 446c39411 Math evaluator: Add new function 'abort()'. 3c2ecee1f Make fast string comparisons more robust when expressions contain blank characters. af9ecf8d0 Optimize evaluation of string comparisons. edfcda038 . 00cab3cea . a0af5312c . 6a92e46f2 . 7ae52c28d cimg_math_parser(): Add 'gamma()' function. ad516d976 . b71e2db76 . a9633d4ed . 9d8406e57 . 103d23625 . 6349c771f . bef50f9d8 . 391a24013 . d4669fbbc . 5e77a9c7e . 86440098e . 6b9eee37c . 616484469 . e79edfdb9 . e616c2443 . 772fa4dca . git-subtree-dir: external/CImg git-subtree-split: 049267da171c50ab48f93c7285f096d7d686e8f3
2023-08-05 08:49:38 +00:00
cl /W4 /wd"4127" /wd"4311" /wd"4312" /wd"4512" /wd"4571" /wd"4640" /wd"4706" /wd"4710" /wd"4800" /wd"4804" /wd"4820" /wd"4996" /c /EHsc /D "_CRT_SECURE_NO_WARNINGS" /I"%SDKPATH%\Include" /I"..\\" %%F.cpp
link /LIBPATH:"%SDKPATH%\Lib" %%F.obj user32.lib gdi32.lib shell32.lib
)