XtreemNodes/CMakeLists.txt

19 lines
453 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
project(XtreemNodes)
include_directories("include/")
file(GLOB_RECURSE Sources "src/**.cpp")
add_executable(${PROJECT_NAME} ${Sources})
if(UNIX AND NOT APPLE) # linux
target_link_libraries(${PROJECT_NAME} -lGL)
target_link_libraries(${PROJECT_NAME} -lGLEW)
target_link_libraries(${PROJECT_NAME} -lglfw)
#target_link_libraries(${PROJECT_NAME} -lsfml-opengl)
endif()
if (WIN32) # windows
endif(WIN32)