[SDK] Turn txt2nls into a host tool

This commit is contained in:
Jérôme Gardou 2021-05-18 09:27:52 +02:00 committed by Jérôme Gardou
parent 30f2ad7949
commit 1549f0837f
9 changed files with 8 additions and 31 deletions

View file

@ -9,5 +9,4 @@ add_subdirectory(shimtest_ros)
add_subdirectory(shlextdbg)
add_subdirectory(symdump)
add_subdirectory(syscalldump)
add_subdirectory(txt2nls)
add_subdirectory(vgafontedit)

View file

@ -1,12 +0,0 @@
list(APPEND SOURCE
main.c
txt.c
nls.c
precomp.h)
add_executable(txt2nls ${SOURCE} txt2nls.rc)
add_pch(txt2nls precomp.h SOURCE)
set_module_type(txt2nls win32cui)
add_importlibs(txt2nls msvcrt kernel32)
add_cd_file(TARGET txt2nls DESTINATION reactos/system32 FOR all)

View file

@ -1,18 +0,0 @@
/*
* PROJECT: ReactOS TXT to NLS Converter
* LICENSE: GNU General Public License Version 2.0 or any later version
* FILE: devutils/txt2nls/txt2nls.rc
* COPYRIGHT: Copyright 2016 Dmitry Chapyshev <dmitry@reactos.org>
*/
#include <windows.h>
#include <commctrl.h>
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS TXT to NLS Converter"
#define REACTOS_STR_INTERNAL_NAME "txt2nls"
#define REACTOS_STR_ORIGINAL_FILENAME "txt2nls.exe"
#include <reactos/version.rc>
#include <reactos/manifest_exe.rc>

View file

@ -35,6 +35,7 @@ add_subdirectory(isohybrid)
add_subdirectory(kbdtool)
add_subdirectory(mkhive)
add_subdirectory(mkisofs)
add_subdirectory(txt2nls)
add_subdirectory(unicode)
add_subdirectory(widl)
add_subdirectory(wpp)

View file

@ -0,0 +1,7 @@
list(APPEND SOURCE
main.c
txt.c
nls.c)
add_host_tool(txt2nls ${SOURCE})