CMakeLists.txt 282 B

1234567891011121314
  1. if(APPLE)
  2. set(CMAKE_C_FLAGS "-O2 -Wall -Dunix")
  3. else()
  4. if(MINGW OR MSVC)
  5. set(CMAKE_C_FLAGS "-O2")
  6. else()
  7. set(CMAKE_C_FLAGS "-O2 -Dunix -Dlinux")
  8. endif()
  9. endif()
  10. include_directories(../include)
  11. set(PORTSF_SRCS portsf.c ieee80.c)
  12. add_library(portsf ${PORTSF_SRCS})