dawn_add_executableΒΆ
Compile the given objects into a runnable executable (.exe).
dawn_add_executable(NAME SOURCES DEPENDS [OUTPUT_DIR])
NAME
- Name of the exectuable as well as the CMake target to build it.
SOURCES
- List of source files making up the exectuable.
DEPENDS
- List of external libraries and/or CMake targets to link against.
OUTPUT_DIR
[optional]- Directory to place the exectuable (e.g
${CMAKE_BINARY_DIR}/bin
). INSTALL_DESTINATION
[optional]- Destition (relative to
CMAKE_INSTALL_PREFIX
) to install the executable.