From fc93650742482fdb23d99e326acdd46e85001bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Kov=C3=A1=C5=99?= Date: Sun, 24 Sep 2023 19:13:23 +0200 Subject: [PATCH 1/5] Updated the cmake configuration --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d5ae28dd6..9dcbd49f6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ endif() include(cmake/mainSetup.cmake) # options and their default values -option(BUILD_SHARED_LIBS "Build exiv2lib as a shared library" ON) +option(BUILD_SHARED_LIBS "Build exiv2lib as a shared library" OFF) option(EXIV2_ENABLE_XMP "Build with XMP metadata support" ON) option(EXIV2_ENABLE_EXTERNAL_XMP "Use external version of XMP" OFF) option(EXIV2_ENABLE_PNG "Build with PNG support (requires zlib)" ON) From 5d7bc9f4d0bed864fc08e6e674698a64699fc802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Kov=C3=A1=C5=99?= Date: Sun, 26 Mar 2023 08:25:25 +0200 Subject: [PATCH 2/5] Add simple HTML page in order to check loading of the WebAssembly --- WebAssembly/index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 WebAssembly/index.html diff --git a/WebAssembly/index.html b/WebAssembly/index.html new file mode 100644 index 0000000000..f43f60fe98 --- /dev/null +++ b/WebAssembly/index.html @@ -0,0 +1,10 @@ + + + + +Exiv2 + + + + + From 325c23466622fba4a477702936e7e7ece98ddc35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Kov=C3=A1=C5=99?= Date: Sun, 24 Sep 2023 19:18:02 +0200 Subject: [PATCH 3/5] Added WebAssembly compilation options --- wasm32.text | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 wasm32.text diff --git a/wasm32.text b/wasm32.text new file mode 100644 index 0000000000..5956c1506c --- /dev/null +++ b/wasm32.text @@ -0,0 +1,11 @@ +[binaries] +c = 'emcc' +cpp = 'em++' +ar = 'emar' +nm = 'emnm' + +[host_machine] +system = 'emscripten' +cpu_family = 'x86_64' +cpu = 'x86_64' +endian = 'little' From c1e49fd62c25b496d76bf6ce617e5f71ece0edd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Kov=C3=A1=C5=99?= Date: Sun, 24 Sep 2023 19:33:42 +0200 Subject: [PATCH 4/5] Added simple test page --- index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000000..847f5cd5e7 --- /dev/null +++ b/index.html @@ -0,0 +1,10 @@ + + + + +Exiv2 + + + + + From c1286b71cb2c4095533349417fa77e1be275ef92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Kov=C3=A1=C5=99?= Date: Sun, 24 Sep 2023 19:49:28 +0200 Subject: [PATCH 5/5] Removed the test page from subdirectory --- WebAssembly/index.html | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 WebAssembly/index.html diff --git a/WebAssembly/index.html b/WebAssembly/index.html deleted file mode 100644 index f43f60fe98..0000000000 --- a/WebAssembly/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - -Exiv2 - - - - -