c-project/libs/FastNoiseSIMD/CMakeLists.txt

11 lines
374 B
CMake
Raw Normal View History

2024-05-15 11:25:35 +02:00
cmake_minimum_required(VERSION 3.1)
project(fastNoiseSIMD)
# Define MY_SOURCES to be a list of all the source files for my game
file(GLOB_RECURSE MY_SOURCES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/FastNoiseSIMD/*.cpp")
add_library(fastNoiseSIMD)
target_sources(fastNoiseSIMD PRIVATE ${MY_SOURCES})
target_include_directories(fastNoiseSIMD PUBLIC "FastNoiseSIMD")