[MKISOFS]
[reactos.git] / reactos / sdk / tools / CMakeLists.txt
1
2 function(add_host_tool _tool)
3 add_executable(${_tool} ${ARGN})
4 if(NEW_STYLE_BUILD)
5 set_target_properties(${_tool} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${TOOLS_FOLDER})
6 endif()
7 endfunction()
8
9 #add_executable(pefixup pefixup.c)
10
11 if(MSVC)
12 add_definitions(-D_CRT_SECURE_NO_WARNINGS)
13 endif()
14
15 add_host_tool(bin2c bin2c.c)
16 add_host_tool(gendib gendib/gendib.c)
17 add_host_tool(geninc geninc/geninc.c)
18 add_host_tool(mkshelllink mkshelllink/mkshelllink.c)
19 add_host_tool(obj2bin obj2bin/obj2bin.c)
20 add_host_tool(spec2def spec2def/spec2def.c)
21
22 if(MSVC)
23 set_property(SOURCE utf16le/utf16le.cpp APPEND_STRING PROPERTY COMPILE_FLAGS " /EHsc")
24 endif()
25 add_host_tool(utf16le utf16le/utf16le.cpp)
26
27 add_subdirectory(cabman)
28 add_subdirectory(cdmake)
29 add_subdirectory(hhpcomp)
30 add_subdirectory(hpp)
31 add_subdirectory(kbdtool)
32 add_subdirectory(mkhive)
33 add_subdirectory(mkisofs)
34 add_subdirectory(unicode)
35 add_subdirectory(widl)
36 add_subdirectory(wpp)
37 add_subdirectory(xml2sdb)
38
39 if(NOT MSVC)
40 add_subdirectory(log2lines)
41 add_subdirectory(rsym)
42 endif()
43
44 add_subdirectory(fatten)