From 8fb7916a0d0cb007a4c3a4e6a31af58765268ca3 Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 16 Apr 2022 11:55:54 -0500 Subject: delete src/mesh/assimp-master --- .../samples/SimpleOpenGL/CMakeLists.txt | 58 ---------------------- 1 file changed, 58 deletions(-) delete mode 100644 src/mesh/assimp-master/samples/SimpleOpenGL/CMakeLists.txt (limited to 'src/mesh/assimp-master/samples/SimpleOpenGL/CMakeLists.txt') diff --git a/src/mesh/assimp-master/samples/SimpleOpenGL/CMakeLists.txt b/src/mesh/assimp-master/samples/SimpleOpenGL/CMakeLists.txt deleted file mode 100644 index ba5deb4..0000000 --- a/src/mesh/assimp-master/samples/SimpleOpenGL/CMakeLists.txt +++ /dev/null @@ -1,58 +0,0 @@ -SET(SAMPLE_PROJECT_NAME assimp_simpleogl) - -FIND_PACKAGE(OpenGL) -FIND_PACKAGE(GLUT) -IF ( MSVC ) - SET(M_LIB) -ELSE () - find_library(M_LIB m) -ENDIF () - -IF ( NOT GLUT_FOUND ) - IF ( MSVC ) - SET ( GLUT_FOUND 1 ) - SET ( GLUT_INCLUDE_DIR ${Assimp_SOURCE_DIR}/samples/freeglut/ ) - SET ( GLUT_LIBRARIES ${Assimp_SOURCE_DIR}/samples/freeglut/lib/freeglut.lib ) - ELSE () - MESSAGE( WARNING "Please install glut." ) - ENDIF () -ENDIF () - -# Used for usage and error messages in the program. -ADD_COMPILE_DEFINITIONS(ASSIMP_VERSION="${ASSIMP_VERSION}") -ADD_COMPILE_DEFINITIONS(PROJECT_NAME="${SAMPLE_PROJECT_NAME}") - -if ( MSVC ) - ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS ) - ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS ) -endif () - -INCLUDE_DIRECTORIES( - ${Assimp_SOURCE_DIR}/include - ${Assimp_SOURCE_DIR}/code - ${OPENGL_INCLUDE_DIR} - ${GLUT_INCLUDE_DIR} - ${Assimp_SOURCE_DIR}/samples/freeglut/include -) - -LINK_DIRECTORIES( - ${Assimp_BINARY_DIR} - ${Assimp_BINARY_DIR}/lib -) - -ADD_EXECUTABLE( ${SAMPLE_PROJECT_NAME} - Sample_SimpleOpenGL.c -) - -TARGET_USE_COMMON_OUTPUT_DIRECTORY(${SAMPLE_PROJECT_NAME}) - -SET_PROPERTY(TARGET ${SAMPLE_PROJECT_NAME} PROPERTY DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) - -TARGET_LINK_LIBRARIES( ${SAMPLE_PROJECT_NAME} assimp ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES} ${M_LIB} ) -SET_TARGET_PROPERTIES( ${SAMPLE_PROJECT_NAME} PROPERTIES - OUTPUT_NAME ${SAMPLE_PROJECT_NAME} -) - -INSTALL( TARGETS ${SAMPLE_PROJECT_NAME} - DESTINATION "${ASSIMP_BIN_INSTALL_DIR}" COMPONENT assimp-dev -) -- cgit v1.2.1