[WPP]
[reactos.git] / reactos / tools / wpp / CMakeLists.txt
1
2 if(MSVC)
3 add_definitions(
4 -Dsnprintf=_snprintf
5 -Dstrtoull=_strtoui64
6 -Dstrtoll=_strtoi64)
7
8 # Add this definition for WDK only, VS 9 doesn't like that
9 if (DEFINED ENV{DDKBUILDENV})
10 add_definitions(
11 -Dvsnprintf=_vsnprintf)
12 endif()
13 endif()
14
15 list(APPEND SOURCE
16 preproc.c
17 wpp.c
18 ppl.yy.c
19 ppy.tab.c)
20
21 add_library(wpp ${SOURCE})
22
23 add_dependencies(wpp build_header)