1 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic")
2 set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror")
5 set( joydevmap_SRC main.c )
8 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
9 include_directories(${CMAKE_CURRENT_BINARY_DIR})
11 add_executable(joydevmap ${joydevmap_SRC})