BrickMap icon indicating copy to clipboard operation
BrickMap copied to clipboard

Vulkan port available.

Open rebelroad-reinhart opened this issue 3 years ago • 4 comments

I created a Vulkan port: https://github.com/rebelroad-reinhart/brickmap-vulkan

Still a work in progress.

rebelroad-reinhart avatar Dec 16 '21 17:12 rebelroad-reinhart

Very cool project! I'm humbled that you chose my renderer to port to Vulkan. I tried compiling your project but ran into some issues where the .exe can't seem to find the path to files. I'm using Visual Studio 2022 with their modern CMake open folder (So not generating .SLN files).

stijnherfst avatar Dec 16 '21 22:12 stijnherfst

Set your CWD to be (base_folder)\apps\brickmap-vulkan

I'm not sure how to automate that. I tried this:

set_target_properties( ${APP_NAME} PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/apps/${APP_NAME}" RUNTIME_OUTPUT_DIRECTORY_DEBUG "${PROJECT_SOURCE_DIR}/apps/${APP_NAME}" )

But it doesn't appear to work. I will investigate alternatives.

rebelroad-reinhart avatar Dec 16 '21 23:12 rebelroad-reinhart

Checked in a fix. You may need to re-run cmake. It should have been VS_DEBUGGER_WORKING_DIRECTORY "$<TARGET_FILE_DIR:${APP_NAME}>"

rebelroad-reinhart avatar Dec 16 '21 23:12 rebelroad-reinhart

I also removed the json dependency just now and fixed release build. Sorry about the trouble!

It should set the CWD to .\apps\brickmap-vulkan

Tested with cmake tools for VS Code.

rebelroad-reinhart avatar Dec 17 '21 00:12 rebelroad-reinhart