aboutsummaryrefslogtreecommitdiffstats
path: root/native-tools/CMakeLists.txt
blob: bb8c677e96edcb61650f9e117400ca42f003f1f3 (plain)
1
2
3
4
5
6
7
8
9
10
cmake_minimum_required(VERSION 3.0.2)

project(native-tools)

add_executable(bin2h bin2h.c)
# Enforce no dressing for executable names, so the main script can find it
set_target_properties(bin2h PROPERTIES OUTPUT_NAME bin2h)
# Avoid configuration-dependent subdirectories while building with Visual Studio
set_target_properties(bin2h PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}")
set_target_properties(bin2h PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}")