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.
20 lines
532 B
20 lines
532 B
cmake_minimum_required (VERSION 2.8.4) |
|
project (juci) |
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
|
|
|
INCLUDE(FindPkgConfig) |
|
|
|
# name of the executable on Windows will be example.exe |
|
add_executable(juci |
|
# list of every needed file to create the executable |
|
juci.cc |
|
controller.h |
|
model.h |
|
view.h |
|
view.cc) |
|
|
|
# dependencies |
|
pkg_check_modules(GTKMM REQUIRED gtkmm-3.0) |
|
include_directories(${GTKMM_INCLUDE_DIRS} ) |
|
link_directories(${GTKMM_LIBRARY_DIRS}) |
|
target_link_libraries(juci ${GTKMM_LIBRARIES}) |