Build sj3mkdic with CMake
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
ae7ee39dec
commit
c785b652da
4 changed files with 23 additions and 2 deletions
|
|
@ -134,3 +134,25 @@ target_include_directories(sj3dic
|
||||||
target_link_libraries(sj3dic
|
target_link_libraries(sj3dic
|
||||||
sj3lib
|
sj3lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_executable(sj3mkdic
|
||||||
|
sj3mkdic/char.c
|
||||||
|
sj3mkdic/cnvhinsi.c
|
||||||
|
sj3mkdic/file.c
|
||||||
|
sj3mkdic/global.c
|
||||||
|
sj3mkdic/hindo.c
|
||||||
|
sj3mkdic/knjcvt.c
|
||||||
|
sj3mkdic/makedict.c
|
||||||
|
sj3mkdic/makelist.c
|
||||||
|
sj3mkdic/makeseg.c
|
||||||
|
sj3mkdic/memory.c
|
||||||
|
sj3mkdic/offset.c
|
||||||
|
sj3mkdic/readline.c
|
||||||
|
sj3mkdic/string.c
|
||||||
|
)
|
||||||
|
target_include_directories(sj3mkdic
|
||||||
|
PRIVATE sj3mkdic include sj3lib
|
||||||
|
)
|
||||||
|
target_link_libraries(sj3mkdic
|
||||||
|
sj3lib
|
||||||
|
)
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "dicttool.h"
|
#include "dicttool.h"
|
||||||
|
|
||||||
|
|
||||||
struct gram_code {
|
struct gram_code {
|
||||||
char *name;
|
char *name;
|
||||||
int code;
|
int code;
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "sj_struct.h"
|
#include "sj_struct.h"
|
||||||
#include "../../include/Dict.h"
|
#include "Dict.h"
|
||||||
#include "dicttool.h"
|
#include "dicttool.h"
|
||||||
|
|
||||||
extern HindoRec *askknj[];
|
extern HindoRec *askknj[];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue