RUNTIME_OUTPUT_DIRECTORY — CMake 4.0.3 Documentation (original) (raw)

Output directory in which to build RUNTIME target files.

This property specifies the directory into which runtime target files should be built. The property value may usegenerator expressions. Multi-configuration generators (Visual Studio,Xcode, [Ninja Multi-Config](../generator/Ninja%20Multi-Config.html#generator:Ninja Multi-Config "Ninja Multi-Config")) append a per-configuration subdirectory to the specified directory unless a generator expression is used.

This property is initialized by the value of theCMAKE_RUNTIME_OUTPUT_DIRECTORY variable if it is set when a target is created.

See also the RUNTIME_OUTPUT_DIRECTORY_ target property.