Re: [CMake] Link against exe on Windows fails - .a file not found

2018-05-18 Thread Michael Ho
ll(FILES ${CMAKE_CURRENT_BINARY_DIR}/lib${PROJECT_NAME}.dll.a DESTINATION bin) endif(WIN32) -Mike ________ From: Michael Ho Sent: 18 May 2018 11:55 To: Jano Svitok; Michael Ho Cc: cmake@cmake.org Subject: Re: [CMake] Link against exe on Windows fails - .a file not found

Re: [CMake] Link against exe on Windows fails - .a file not found

2018-05-18 Thread Michael Ho
__ From: Jano Svitok Sent: 14 May 2018 00:34 To: Michael Ho Cc: cmake@cmake.org Subject: Re: [CMake] Link against exe on Windows fails - .a file not found On Sun, May 13, 2018 at 1:41 PM, Michael Ho mailto:craftedc...@outlook.com>> wrote: > > Hey there. > > I'm trying

[CMake] Link against exe on Windows fails - .a file not found

2018-05-13 Thread Michael Ho
Hey there. I'm trying to make a plugin system for my application, and thus each plugin will need to link with my main application. This is fine on Linux and macOS, as I can just set the ENABLE_EXPORTS property of my executable target (set_target_properties(${PROJECT_NAME} PROPERTIES ENABLE_EXPO