gctf2023/pwn/flipper/dist/utils/CMakeLists.txt
2023-11-24 13:11:34 -05:00

20 lines
461 B
CMake

# do not cross compile host tools
set(CMAKE_CXX_COMPILER g++)
set(CMAKE_C_COMPILER gcc)
set(CMAKE_AR ar)
set(CMAKE_RANLIB ranlib)
# Ugly hack for preventing kernel CFLAGS from preventing utils build
# TODO: These should not be set for utils/ in the first place
set(CMAKE_C_FLAGS "")
set(CMAKE_CXX_FLAGS "")
add_compile_options(-O0 -g -Wall -Wextra -Werror -std=gnu++11)
add_subdirectory(exe2minixfs)
add_subdirectory(add-debug)
add_subdirectory(images)