]> git.sthu.org Git - joydevmap.git/blob - src/CMakeLists.txt
remove warning
[joydevmap.git] / src / CMakeLists.txt
1 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic")
2 set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror")
3
4
5 set( joydevmap_SRC main.c )
6
7
8 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
9 include_directories(${CMAKE_CURRENT_BINARY_DIR})
10
11 add_executable(joydevmap ${joydevmap_SRC})
12
13