From 1f09fa089dc3f2d54957f9ec3477b2f28f819f09 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Tue, 21 Jul 2026 07:29:03 +0200 Subject: [PATCH] cmake: register all modules in yasm_init_plugin (#301) Some modules were not registered when dynamically loading yasmstd. --- modules/objfmts/bin/CMakeLists.txt | 3 +++ modules/parsers/gas/CMakeLists.txt | 3 +++ modules/parsers/nasm/CMakeLists.txt | 3 +++ modules/preprocs/nasm/CMakeLists.txt | 2 ++ 4 files changed, 11 insertions(+) diff --git a/modules/objfmts/bin/CMakeLists.txt b/modules/objfmts/bin/CMakeLists.txt index a3d396a5..7af5e22b 100644 --- a/modules/objfmts/bin/CMakeLists.txt +++ b/modules/objfmts/bin/CMakeLists.txt @@ -1,3 +1,6 @@ YASM_ADD_MODULE(objfmt_bin objfmts/bin/bin-objfmt.c ) + +YASM_ADD_MODULE(objfmt_dosexe + ) diff --git a/modules/parsers/gas/CMakeLists.txt b/modules/parsers/gas/CMakeLists.txt index d4ecb3ea..8c59d4dd 100644 --- a/modules/parsers/gas/CMakeLists.txt +++ b/modules/parsers/gas/CMakeLists.txt @@ -10,3 +10,6 @@ YASM_ADD_MODULE(parser_gas parsers/gas/gas-parse-intel.c gas-token.c ) + +YASM_ADD_MODULE(parser_gnu + ) diff --git a/modules/parsers/nasm/CMakeLists.txt b/modules/parsers/nasm/CMakeLists.txt index 7a060d29..9f40beb2 100644 --- a/modules/parsers/nasm/CMakeLists.txt +++ b/modules/parsers/nasm/CMakeLists.txt @@ -19,3 +19,6 @@ YASM_ADD_MODULE(parser_nasm parsers/nasm/nasm-parse.c nasm-token.c ) + +YASM_ADD_MODULE(parser_tasm + ) diff --git a/modules/preprocs/nasm/CMakeLists.txt b/modules/preprocs/nasm/CMakeLists.txt index e10a9dd1..e68cd25c 100644 --- a/modules/preprocs/nasm/CMakeLists.txt +++ b/modules/preprocs/nasm/CMakeLists.txt @@ -23,3 +23,5 @@ YASM_ADD_MODULE(preproc_nasm preprocs/nasm/nasm-eval.c ) +YASM_ADD_MODULE(preproc_tasm + )