message: Change how the output directory for NovelRT.DotNet is computed
diff: @@ -76,20 +76,18 @@ file(GLOB NOVELRT_DOTNET_JSON_FILES CONFIGURE_DEPENDS NovelRT.DotNet/*.json)
  if("${CMAKE_BUILD_TYPE}" AND NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
  set(NOVELRT_DOTNET_CONFIGURATION Release)
  - set(NOVELRT_DOTNET_OUTDIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_BUILD_TYPE})
  else()
  set(NOVELRT_DOTNET_CONFIGURATION Debug)
  - set(NOVELRT_DOTNET_OUTDIR ${CMAKE_CURRENT_BINARY_DIR}/Debug)
  endif()
  set(NOVELRT_DOTNET_OUTPUTS
  - ${NOVELRT_DOTNET_OUTDIR}/NovelRT.DotNet.deps.json
  - ${NOVELRT_DOTNET_OUTDIR}/NovelRT.DotNet.dll
  - ${NOVELRT_DOTNET_OUTDIR}/NovelRT.DotNet.pdb
  + NovelRT.DotNet.deps.json
  + NovelRT.DotNet.dll
  + NovelRT.DotNet.pdb
  )
  add_custom_command(OUTPUT ${NOVELRT_DOTNET_OUTPUTS}
  - COMMAND dotnet build ${NOVELRT_DOTNET_CSPROJ} /p:Configuration=${NOVELRT_DOTNET_CONFIGURATION} /p:OutDir=${NOVELRT_DOTNET_OUTDIR}
  + COMMAND dotnet build ${NOVELRT_DOTNET_CSPROJ} /p:Configuration=${NOVELRT_DOTNET_CONFIGURATION} /p:OutDir=$<TARGET_FILE_DIR:NovelRT>
  MAIN_DEPENDENCY ${NOVELRT_DOTNET_CSPROJ}
  DEPENDS ${NOVELRT_DOTNET_CSHARP_FILES} ${NOVELRT_DOTNET_JSON_FILES}
  )
  