From 6d4319f0c3845c979de8c0c2e7592f74763c31e3 Mon Sep 17 00:00:00 2001 From: p9evjq4zb <2175226286@qq.com> Date: Mon, 20 Jan 2025 16:43:41 +0800 Subject: [PATCH] =?UTF-8?q?Cmakelists=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cmakelists | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Cmakelists diff --git a/Cmakelists b/Cmakelists new file mode 100644 index 0000000..caf23b4 --- /dev/null +++ b/Cmakelists @@ -0,0 +1,5 @@ +add_library(inifile STATIC inifile.cpp) +add_library(inifile_share SHARED inifile.cpp) +add_custom_target(rename_share_so COMMAND mv ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libinifile_share.so ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libinifile.so ) +add_dependencies(rename_share_so inifile_share) +add_dependencies(inifile rename_share_so) \ No newline at end of file