在沒有宏或.def文件的dll中自動導出所有符號,或.def文件
安裝cmake版本3.3.2015021-g9cd2f或更高版本,包括“ extort”。 to your CMakeLists.txt file.Create a Visual Studio project using CMake.
Compile the project, and all symbols will be exported automatically.
Note:
When using this method, ensure that /GL (Whole Program Optimization) is not啟用。Additional Tips
Use __declspec(dllexport) or __cdecl導出c函數的導出宏以消除名稱雜交。 使用靜態庫來導出符號,然後解析並提取它們以在.def文件中使用。
免責聲明: 提供的所有資源部分來自互聯網,如果有侵犯您的版權或其他權益,請說明詳細緣由並提供版權或權益證明然後發到郵箱:[email protected] 我們會在第一時間內為您處理。
Copyright© 2022 湘ICP备2022001581号-3