CMakeLists.txt 234 B

123456789
  1. project(stdiobufhack C)
  2. cmake_minimum_required(VERSION 2.4)
  3. add_library(stdiobufhack SHARED stdiobufhack.c)
  4. set_target_properties(stdiobufhack PROPERTIES COMPILE_FLAGS "-O2 -std=gnu99 -Wall")
  5. target_link_libraries(stdiobufhack dl)