1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") SET (SRCS Noise.cpp ) SET (HDRS InterpolNoise.h Noise.h OctavedNoise.h RidgedNoise.h ) if(NOT MSVC) add_library(Noise ${SRCS} ${HDRS}) target_link_libraries(Noise OSSupport) endif()