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.
25 lines
790 B
25 lines
790 B
cmake_minimum_required (VERSION 3.10)
|
|
|
|
project(3dbase)
|
|
|
|
set(CMAKE_CXX_COMPILER "g++")
|
|
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
|
|
|
find_package(PkgConfig REQUIRED)
|
|
pkg_check_modules(GTK2 REQUIRED gtk+-2.0)
|
|
message(STATUS "----- GTK2_INCLUDE_DIRS: ${GTK2_INCLUDE_DIRS}")
|
|
message(STATUS "----- GKT2_LIBRARIES: ${GTK2_LIBRARIES}")
|
|
message(STATUS "----- GTK2_LINK_LIBRARIES: ${GTK2_LINK_LIBRARIES}")
|
|
include_directories(${GTK2_INCLUDE_DIRS})
|
|
link_directories(${GTK2_LIBRARY_DIRS})
|
|
list(APPEND FC_DEP_LIBS ${GTK2_LIBRARIES})
|
|
list(APPEND FC_DEP_LIBS freeimage)
|
|
|
|
#add_subdirectory(src/1raster)
|
|
#add_subdirectory(src/2texture)
|
|
#add_subdirectory(src/3statemachine)
|
|
#add_subdirectory(src/4matrix)
|
|
#add_subdirectory(src/5threed)
|
|
#add_subdirectory(src/6threed)
|
|
add_subdirectory(src/7camera)
|
|
|