mirror of https://github.com/sm64pc/sm64pc.git
12 lines
215 B
CMake
12 lines
215 B
CMake
|
cmake_minimum_required(VERSION 3.12)
|
||
|
|
||
|
project(engine)
|
||
|
|
||
|
file(GLOB SOURCES "*.c")
|
||
|
|
||
|
file(GLOB HEADERS "*.h")
|
||
|
|
||
|
add_library(${PROJECT_NAME} STATIC ${SOURCES} ${HEADERS})
|
||
|
|
||
|
target_link_libraries(${PROJECT_NAME} menu game)
|