Now passing standard assets bundle path to test executable
This commit is contained in:
@@ -6,6 +6,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
if (WIN32)
|
||||
add_executable(kraken_cube WIN32 main_win.cpp hello_cube.cpp)
|
||||
add_compile_definitions(UNICODE)
|
||||
set_property(TARGET kraken_cube PROPERTY VS_DEBUGGER_COMMAND_ARGUMENTS "${STANDARD_ASSET_BUNDLE}")
|
||||
else(WIN32)
|
||||
add_executable(kraken_cube main_macos.mm hello_cube.cpp)
|
||||
set(CMAKE_CXX_COMPILER "clang++")
|
||||
@@ -16,6 +17,8 @@ target_include_directories(kraken_cube PRIVATE ${CMAKE_SOURCE_DIR}/hydra/include
|
||||
|
||||
TARGET_LINK_LIBRARIES( kraken_cube kraken ${EXTRA_LIBS} )
|
||||
|
||||
# configure_file(${STANDARD_ASSET_BUNDLE} ${CMAKE_BINARY_DIR}/output/bin COPYONLY)
|
||||
|
||||
set_target_properties( kraken_cube PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/output/bin
|
||||
RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/output/bin
|
||||
|
||||
Reference in New Issue
Block a user