You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
628 B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. cmake_minimum_required (VERSION 3.10)
  2. project(3dbase)
  3. set(CMAKE_CXX_COMPILER "g++")
  4. set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
  5. find_package(PkgConfig REQUIRED)
  6. pkg_check_modules(GTK2 REQUIRED gtk+-2.0)
  7. message(STATUS "----- GTK2_INCLUDE_DIRS: ${GTK2_INCLUDE_DIRS}")
  8. message(STATUS "----- GKT2_LIBRARIES: ${GTK2_LIBRARIES}")
  9. message(STATUS "----- GTK2_LINK_LIBRARIES: ${GTK2_LINK_LIBRARIES}")
  10. include_directories(${GTK2_INCLUDE_DIRS})
  11. link_directories(${GTK2_LIBRARY_DIRS})
  12. list(APPEND FC_DEP_LIBS ${GTK2_LIBRARIES})
  13. list(APPEND FC_DEP_LIBS freeimage)
  14. #add_subdirectory(src/raster)
  15. add_subdirectory(src/texture)