mirror of https://gitlab.com/cppit/jucipp
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.
22 lines
524 B
22 lines
524 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 |
|
menu.h |
|
|
|
menu.cc |
|
|
|
window.cc |
|
juci.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}) |