caseymcc / UE4CMake

Provides a simple way to add a cmake lib to any Unreal Engine 4 (UE4) or 5 (UE5) project.
MIT License
78 stars 14 forks source link

Possibility to override the CMake configuration? #7

Closed fsvenson closed 1 year ago

fsvenson commented 1 year ago

Currently the CMake build configuration uses the UE configuration, mapping all Debug-configs to the CMake Debug configuration. There may be cases where one would like to use e.g. the Release configuration of the CMake dependency while still building UE in Debug mode.

Currently, passing e.g. -DCMAKE_BUILD_TYPE=Release as a CMake argument to add() does not override the used configuration.

caseymcc commented 1 year ago

should be added with https://github.com/caseymcc/UE4CMake/pull/8