Hi Arjen! >>> For the case that CMake finds a D compiler on Windows, various link >>> and library flags are set: >>> >>> IF(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") >>> SET(CMAKE_INCLUDE_FLAG_D "-I") # -I >>> SET(CMAKE_INCLUDE_FLAG_D_SEP "") # , or empty >>> SET(CMAKE_LINK_LIBRARY_FLAG "-L+") >>> SET(CMAKE_LIBRARY_PATH_FLAG "-L+") >>> SET(CMAKE_LIBRARY_PATH_TERMINATOR "\\") >>> FIND_PROGRAM(DMD_LIBRARIAN "lib.exe") > ... > What you should do is add some print-statements in that file to see at > what moment the -L+ appears: > > MESSAGE( STATUS "1 -- wxWidgets_LIBRARIES: ${ wxWidgets_LIBRARIES}" ) > > (incrementing "1" with each occurrence of setting this > wxWidgets_LIBRARIES variable for easy identification).
I did several builds in the meantime, adding debug output to various .cmake files. However, up until invocation of summary.cmake (which I assume is the last cmake module being called), the output is always this: ---snip--- -- 1 summary.cmake -- wxWidgets_LIBRARIES: F:/wxWidgets-3.0.0/lib/vc_lib/wxbase30ud.lib;F:/wxWidgets-3.0.0/lib/vc_lib/wxmsw30ud_core.lib;F:/wxWidgets-3.0.0/lib/vc_lib/wxpngd.lib;F:/wxWidgets-3.0.0/lib/vc_lib/wxtiffd.lib;F:/wxWidgets-3.0.0/lib/vc_lib/wxjpegd.lib;F:/wxWidgets-3.0.0/lib/vc_lib/wxzlibd.lib;F:/wxWidgets-3.0.0/lib/vc_lib/wxregexud.lib;F:/wxWidgets-3.0.0/lib/vc_lib/wxexpatd.lib;winmm;comctl32;rpcrt4;wsock32 -- 1 summary.cmake -- wxWidgets_LINK_FLAGS: ---snap--- So, everything looks fine here. *But*, if I open the resulting plplot.sln it gives me the following linker input dependencies: ---snip--- kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib ..\dll\Debug\plplot.lib F:\wxWidgets-3.0.0\lib\vc_lib\wxbase30ud.lib F:\wxWidgets-3.0.0\lib\vc_lib\wxmsw30ud_core.lib F:\wxWidgets-3.0.0\lib\vc_lib\wxpngd.lib F:\wxWidgets-3.0.0\lib\vc_lib\wxtiffd.lib F:\wxWidgets-3.0.0\lib\vc_lib\wxjpegd.lib F:\wxWidgets-3.0.0\lib\vc_lib\wxzlibd.lib F:\wxWidgets-3.0.0\lib\vc_lib\wxregexud.lib F:\wxWidgets-3.0.0\lib\vc_lib\wxexpatd.lib -L+winmm.lib -L+comctl32.lib -L+rpcrt4.lib -L+wsock32.lib ..\dll\Debug\csirocsa.lib ..\dll\Debug\qsastime.lib ---snap--- Can you tell me, when and where the plplot.sln is being generated? -- Best regards, Thorsten ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel