1
2add_definitions(-D__ROS_LONG64__)
3
4if(MSVC)
5    add_compile_options(
6        /wd4090 # C4090: 'function': different 'const' qualifiers
7        /wd4133 # C4133: 'function': incompatible types - from '<enum> *' to 'UINT *'
8        /wd4146 # C4146: unary minus operator applied to unsigned type, result still unsigned
9        /wd4189 # C4189: 'x': local variable is initialized but not referenced
10        /wd4267 # C4267: '=': conversion from 'size_t' to 'int', possible loss of data
11        /wd4305) # C4305: '=': truncation from 'double' to 'FLOAT'
12    if(ARCH STREQUAL "amd64")
13        add_compile_options(
14            /wd4101 # C4101: 'x': unreferenced local variable
15            /wd4312 # C4312: 'type cast': conversion from 'unsigned int' to 'char *' of greater size
16            /wd4334) # C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
17    endif()
18endif()
19
20add_subdirectory(advapi32)
21add_subdirectory(advpack)
22add_subdirectory(amstream)
23add_subdirectory(atl)
24add_subdirectory(atl100)
25add_subdirectory(atl80)
26add_subdirectory(avifil32)
27add_subdirectory(bcrypt)
28add_subdirectory(browseui)
29add_subdirectory(cabinet)
30add_subdirectory(cmd)
31add_subdirectory(comcat)
32add_subdirectory(comctl32)
33add_subdirectory(comdlg32)
34add_subdirectory(credui)
35add_subdirectory(crypt32)
36add_subdirectory(cryptnet)
37add_subdirectory(cryptui)
38add_subdirectory(d3dcompiler_43)
39add_subdirectory(d3drm)
40add_subdirectory(d3dx9_36)
41add_subdirectory(dbghelp)
42add_subdirectory(devenum)
43add_subdirectory(dinput)
44add_subdirectory(dinput8)
45add_subdirectory(dnsapi)
46add_subdirectory(dplayx)
47add_subdirectory(dsound)
48add_subdirectory(dxdiagn)
49add_subdirectory(faultrep)
50add_subdirectory(fusion)
51add_subdirectory(gdi32)
52add_subdirectory(gdiplus)
53add_subdirectory(hid)
54add_subdirectory(hlink)
55add_subdirectory(hnetcfg)
56add_subdirectory(imagehlp)
57add_subdirectory(imm32)
58add_subdirectory(inetcomm)
59add_subdirectory(inetmib1)
60add_subdirectory(iphlpapi)
61add_subdirectory(itss)
62add_subdirectory(jscript)
63add_subdirectory(kernel32)
64add_subdirectory(localspl)
65add_subdirectory(localui)
66add_subdirectory(lz32)
67add_subdirectory(mapi32)
68add_subdirectory(mlang)
69add_subdirectory(mmdevapi)
70add_subdirectory(mpr)
71add_subdirectory(msacm32)
72add_subdirectory(mscms)
73add_subdirectory(mscoree)
74add_subdirectory(msctf)
75add_subdirectory(mshtml)
76add_subdirectory(msi)
77add_subdirectory(msrle32)
78add_subdirectory(mstask)
79add_subdirectory(msvcrt)
80add_subdirectory(msvcrtd)
81add_subdirectory(msvfw32)
82add_subdirectory(msxml3)
83add_subdirectory(netapi32)
84add_subdirectory(netcfgx)
85add_subdirectory(ntdll)
86add_subdirectory(ntdsapi)
87add_subdirectory(odbccp32)
88add_subdirectory(ole32)
89add_subdirectory(oleacc)
90add_subdirectory(oleaut32)
91add_subdirectory(oledlg)
92add_subdirectory(opengl32)
93add_subdirectory(pdh)
94add_subdirectory(propsys)
95add_subdirectory(psapi)
96add_subdirectory(qedit)
97add_subdirectory(qmgr)
98add_subdirectory(quartz)
99add_subdirectory(rasapi32)
100add_subdirectory(reg)
101add_subdirectory(regedit)
102add_subdirectory(riched20)
103add_subdirectory(riched32)
104if(NOT ARCH STREQUAL "amd64")
105    add_subdirectory(rpcrt4)
106endif()
107add_subdirectory(rsaenh)
108add_subdirectory(schannel)
109add_subdirectory(scrrun)
110add_subdirectory(secur32)
111add_subdirectory(serialui)
112add_subdirectory(services)
113add_subdirectory(setupapi)
114add_subdirectory(shdocvw)
115add_subdirectory(shell32)
116add_subdirectory(shlwapi)
117add_subdirectory(snmpapi)
118add_subdirectory(spoolss)
119add_subdirectory(sti)
120add_subdirectory(sxs)
121add_subdirectory(twain_32)
122add_subdirectory(urlmon)
123add_subdirectory(user32)
124add_subdirectory(userenv)
125add_subdirectory(usp10)
126add_subdirectory(uxtheme)
127add_subdirectory(vbscript)
128add_subdirectory(version)
129add_subdirectory(wbemdisp)
130add_subdirectory(wbemprox)
131add_subdirectory(windowscodecs)
132add_subdirectory(windowscodecsext)
133add_subdirectory(winhttp)
134add_subdirectory(wininet)
135add_subdirectory(winmm)
136#add_subdirectory(winspool)
137add_subdirectory(wintrust)
138add_subdirectory(wldap32)
139add_subdirectory(wmiutils)
140add_subdirectory(wmvcore)
141add_subdirectory(ws2_32)
142add_subdirectory(wscript)
143add_subdirectory(wshom)
144add_subdirectory(wtsapi32)
145add_subdirectory(xcopy)
146add_subdirectory(xinput1_3)
147add_subdirectory(xmllite)
148