Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2016
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.42 KB | None | 0 0
  1. cmake_minimum_required(VERSION 3.3)
  2. project(untitled)
  3.  
  4. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror")
  5.  
  6. set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
  7.  
  8. file(GLOB untitled_SRC
  9.         "*.h"
  10.         "*.c"
  11.         )
  12.  
  13. find_package( Curses REQUIRED )
  14. include_directories( ${CURSES_INCLUDE_DIR} )
  15.  
  16. add_executable(untitled ${untitled_SRC})
  17.  
  18. target_link_libraries( untitled ${CURSES_LIBRARIES} )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement