Hi,
I'm facing a strange issue with CMake 3.2.2 when building with Visual
Studio.
This code snippet shows the problem:
--
set(CS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/MyLib.cs
${CMAKE_CURRENT_SOURCE_DIR}/AssemblyInfo.cs)
add_custom_command(OUTPUT mylib.dll
COMMAND
On 05/15/2015 05:09 AM, Paul Cercueil wrote:
set(CS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/MyLib.cs
${CMAKE_CURRENT_SOURCE_DIR}/AssemblyInfo.cs)
add_custom_command(OUTPUT mylib.dll
COMMAND mcs /target:library /out:mylib.dll /debug
Hi Brad,
On 15/05/2015 17:09, Brad King wrote:
On 05/15/2015 05:09 AM, Paul Cercueil wrote:
set(CS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/MyLib.cs
${CMAKE_CURRENT_SOURCE_DIR}/AssemblyInfo.cs)
add_custom_command(OUTPUT mylib.dll
COMMAND mcs /target:library