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