Use CMake option for asset dir instead of command-line flag
This commit is contained in:
@@ -7,6 +7,9 @@ option(UBSAN "Enable undefined behaviour sanitizer" OFF)
|
||||
option(PERFMON "Monitor performance of game code" ON)
|
||||
option(HOTRELOAD "Enable hot reloading of game code" OFF)
|
||||
|
||||
set(ASSET_DIR "${CMAKE_SOURCE_DIR}/assets"
|
||||
CACHE STRING "Directory containing asset pack")
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
macro(set_default_target_options target)
|
||||
|
||||
Reference in New Issue
Block a user