cmake_minimum_required(VERSION 3.0)

if(MSVC)
  set(CMAKE_C_FLAGS "/Ox /W3 /wd4996")
else()
  set(CMAKE_C_FLAGS "-O3 -Wall")
endif()

file(GLOB SOURCES *.c)
add_library(emu8950 STATIC ${SOURCES})

cmake_minimum_required(VERSION 2.8)

if(MSVC)
  set(CMAKE_C_FLAGS "/Ox /W3 /wd4996")
else()
  set(CMAKE_C_FLAGS "-O3 -Wall")
endif()

file(GLOB SOURCES *.c)
add_library(emu8950 STATIC ${SOURCES})

Set minimum cmake version to 2.8.
Set minimum cmake version to 2.8.
