Changeset 69388 in vbox for trunk/src/VBox/Main/testcase/makefile.tstVBoxAPIWin
- Timestamp:
- Oct 26, 2017 5:02:54 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 118712
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/makefile.tstVBoxAPIWin
r60765 r69388 1 # 1 # $Id$ 2 ## @file 2 3 # tstVBoxAPILinux makefile 3 4 # 5 4 6 # 5 7 # Copyright (C) 2006-2016 Oracle Corporation … … 13 15 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 14 16 # 17 18 # 15 19 # Several assumptions and propositions: 16 20 # - Visual Studio has already installed on machine or you already have nmake.exe, cl.exe, link.exe … … 20 24 # - cl is cl.exe - Windows compiler 21 25 # - link is link.exe - Windows linker 22 # - all needed paths have been set in working environment. It means that when you type "cl" from the console, 26 # - all needed paths have been set in working environment. It means that when you type "cl" from the console, 23 27 # Windows shall find cl.exe by using enviroment variable PATH or something similar. 24 28 # 25 # The best way to accomplish it is to run a script vcvars32.bat located in the Visual studio "bin" directory. 29 # The best way to accomplish it is to run a script vcvars32.bat located in the Visual studio "bin" directory. 26 30 # This script installs needed paths in your working environment. 27 31 # Important!!! 28 32 # Script vcvars32.bat sets up needed paths only for local console session. 29 # For permanent using, needed paths must be added globally. 33 # For permanent using, needed paths must be added globally. 30 34 # 31 35 # Several possible examples of paths: … … 41 45 LINK = link 42 46 PATH_MSCOM = ../../../bindings/mscom 43 INCS_MSCOM = $(PATH_MSCOM)/include 47 INCS_MSCOM = $(PATH_MSCOM)/include 44 48 LIBS_MSCOM = $(PATH_MSCOM)/lib 45 49 … … 49 53 tstVBoxAPIWin_DEPS = $(INCS_MSCOM) 50 54 51 COMPILER_CMDLINE = /Zi /nologo /W3 /WX- /Od /Oy- /Gm /EHsc /RTC1 /GS /fp:precise /Gd /analyze- /errorReport:queue 55 COMPILER_CMDLINE = /Zi /nologo /W3 /WX- /Od /Oy- /Gm /EHsc /RTC1 /GS /fp:precise /Gd /analyze- /errorReport:queue 52 56 53 57 LINKER_CMDLINE = /INCREMENTAL /DEBUG /SUBSYSTEM:CONSOLE … … 57 61 $(LINK) /out:tstVBoxAPIWin.exe $** $(LIBS_DEPS) 58 62 59 # default compilation 63 # default compilation 60 64 tstVBoxAPIWin.obj: 61 65 $(CXX) /c /I$(INCS_MSCOM) tstVBoxAPIWin.cpp … … 85 89 # $(CXX) /c /I$(INCS_MSCOM) /I$(WIN_SDK_INCLUDE_PATH) /I$(VS_INCLUDE_PATH) $(tstVBoxAPIWin_SOURCES) 86 90 87
Note:
See TracChangeset
for help on using the changeset viewer.