mirror of
https://github.com/gbdev/rgbds.git
synced 2026-03-26 06:43:02 +00:00
Improve documentation of CMake bin output dir
This commit is contained in:
@@ -105,8 +105,8 @@ add_executable(rgbgfx $<TARGET_OBJECTS:common>
|
|||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS rgbasm rgblink rgbfix rgbgfx RUNTIME)
|
install(TARGETS rgbasm rgblink rgbfix rgbgfx RUNTIME)
|
||||||
# Required to run tests
|
# Tests expect the binaries to end up in-source; this is more acceptable than the entire artifact dir.
|
||||||
set_target_properties(rgbasm rgblink rgbfix rgbgfx PROPERTIES
|
set_target_properties(rgbasm rgblink rgbfix rgbgfx PROPERTIES
|
||||||
# hack for MSVC: no-op generator expression to stop generation of "per-configuration subdirectory"
|
# The generator expression (even if a no-op) stops muti-config generators using a of "per-configuration subdirectory".
|
||||||
RUNTIME_OUTPUT_DIRECTORY $<1:${CMAKE_SOURCE_DIR}>)
|
RUNTIME_OUTPUT_DIRECTORY $<1:${CMAKE_SOURCE_DIR}>)
|
||||||
target_link_libraries(rgbgfx PRIVATE PNG::PNG)
|
target_link_libraries(rgbgfx PRIVATE PNG::PNG)
|
||||||
|
|||||||
Reference in New Issue
Block a user