Change the name of the library folder in win-superpack to enable specifying the path using Visual C++ macro (Feature #2002)


Added by Tsukasa Sugiura almost 13 years ago. Updated over 9 years ago.


Status:Open Start date:2012-05-31
Priority:Normal Due date:
Assignee:Alexander Shishkov % Done:

0%

Category:build/install
Target version:-
Difficulty: Pull request:

Description

Currently, The name of the library folder in win-superpack is as follows.

・for 32bit application "x86"
・for 64bit application "x64"

I propose the improvement plan.

Visual C++ macros are $(PlatformName).
This macro shows the "Win32" when project is Win32, shows the "x64" when project is x64.
If changed "x86, x64" to "Win32, x64" the name of the library folder in win-superpack, will be very useful it can be use to specify the path.
(Similar macro $(PlatformShortName) show the "x86" when project is Win32, shows the "amd64" when project is x64.)

Also, can use the $(PlatformToolset) to specify the path if you change "vc9, vc10" to "vc90, vc100".
$(PlatformToolset) shows the "vc100" when compiler is Visual C++ 2010, shows the "vc90" compiler is Visual C++ 2008.

\opencv\build\(x86|x64)\(vc9|vc10)\ -> \opencv\build\(Win32|x64)\(vc90|vc100)\

Please consider changing the name of the folder.


Associated revisions

Revision 721d0145
Added by Roman Donchenko about 11 years ago

Merge pull request #2002 from abak:stereo_calibrate

History

Updated by Andrey Kamaev almost 13 years ago

  • Category set to build/install
  • Assignee set to Alexander Shishkov

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4368

Also available in: Atom PDF