Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: 021410d7ddde74960a4fbdc957b346457b42d7d6
      
https://github.com/synfig/synfig/commit/021410d7ddde74960a4fbdc957b346457b42d7d6
  Author: ice0 <konop...@gmail.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

  Changed paths:
    M synfig-core/src/modules/lyr_freetype/CMakeLists.txt
    M synfig-core/src/modules/lyr_std/CMakeLists.txt
    M synfig-core/src/modules/mod_bmp/CMakeLists.txt
    M synfig-core/src/modules/mod_dv/CMakeLists.txt
    M synfig-core/src/modules/mod_example/CMakeLists.txt
    M synfig-core/src/modules/mod_ffmpeg/CMakeLists.txt
    M synfig-core/src/modules/mod_filter/CMakeLists.txt
    M synfig-core/src/modules/mod_geometry/CMakeLists.txt
    M synfig-core/src/modules/mod_gif/CMakeLists.txt
    M synfig-core/src/modules/mod_gradient/CMakeLists.txt
    M synfig-core/src/modules/mod_imagemagick/CMakeLists.txt
    M synfig-core/src/modules/mod_jpeg/CMakeLists.txt
    M synfig-core/src/modules/mod_libavcodec/CMakeLists.txt
    M synfig-core/src/modules/mod_magickpp/CMakeLists.txt
    M synfig-core/src/modules/mod_mng/CMakeLists.txt
    M synfig-core/src/modules/mod_noise/CMakeLists.txt
    M synfig-core/src/modules/mod_openexr/CMakeLists.txt
    M synfig-core/src/modules/mod_particle/CMakeLists.txt
    M synfig-core/src/modules/mod_png/CMakeLists.txt
    M synfig-core/src/modules/mod_ppm/CMakeLists.txt
    M synfig-core/src/modules/mod_svg/CMakeLists.txt
    M synfig-core/src/modules/mod_yuv420p/CMakeLists.txt
    M synfig-core/src/synfig/CMakeLists.txt
    M synfig-core/src/synfig/color/CMakeLists.txt
    M synfig-core/src/synfig/debug/CMakeLists.txt
    M synfig-core/src/synfig/layers/CMakeLists.txt
    M synfig-core/src/synfig/rendering/CMakeLists.txt
    M synfig-core/src/synfig/rendering/common/CMakeLists.txt
    M synfig-core/src/synfig/rendering/common/optimizer/CMakeLists.txt
    M synfig-core/src/synfig/rendering/common/task/CMakeLists.txt
    M synfig-core/src/synfig/rendering/primitive/CMakeLists.txt
    M synfig-core/src/synfig/rendering/software/CMakeLists.txt
    M synfig-core/src/synfig/rendering/software/function/CMakeLists.txt
    M synfig-core/src/synfig/rendering/software/task/CMakeLists.txt
    M synfig-core/src/synfig/synfig_export.h
    M synfig-core/src/synfig/valuenodes/CMakeLists.txt
    M synfig-core/src/tool/CMakeLists.txt
    M synfig-core/test/CMakeLists.txt
    M synfig-studio/src/gui/CMakeLists.txt
    M synfig-studio/src/synfigapp/CMakeLists.txt

  Log Message:
  -----------
  fix: fixed broken synfig.dll debugging in MSVC build (#2764)

While testing the Synfig MSVC build, I noticed that debugging of
functions located in the synfig.dll library does not work.

Visual Studio shows that this is happening because the pdb file
(with debug information) cannot be loaded. Attempting to load
this file manually gives a strange error message:
"No matching symbol file found in this folder."
However, if we rebuild the synfig target, then everything started
working.

This is happens because the synfig library (synfig.dll) and the
synfig executable (synfig.exe) have the same name and located
in the same directory (bin on Windows).

There are several solutions here:
1) Change the name of the `synfig` executable to something else,
like `synfig-cli`.

2) Set different output path for library pdb file:
```
set_target_properties(synfig PROPERTIES PDB_OUTPUT_DIRECTORY "lib")
```

3) Rename target in CMake from `synfig` to `libsynfig`

I prefer the last solution, but I'm not sure which one is better.




_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to