Skip to content
Snippets Groups Projects
generate.conf 1.5 KiB
Newer Older
Tomáš Pecka's avatar
Tomáš Pecka committed
[Versioning]
; Promote version with release
major = 0
minor = 0
patch = 1

[General]
ProjectConfFile: project.conf
PathToSources: ..
Tomáš Pecka's avatar
Tomáš Pecka committed
[CMake:Categories]
; projects and their templates
; project must belong in one of these categories
root:       CMakeLists_root.txt
executable: CMakeLists_bin.txt
library:    CMakeLists_lib.txt
testing:    CMakeLists_itest.txt
Tomáš Pecka's avatar
Tomáš Pecka committed

[CMake:Sources]
; where to find sources, relative to {PROJECT_DIR}
ExcludeSources: .txx .cxx .hxx
InstallSources: .hpp .h .hxx EMPTY
Tomáš Pecka's avatar
Tomáš Pecka committed
SourcesDir: src
TestSourcesDir: test-src

; ----------------------------------------------------------
; system dependencies:
; if projects depends on one of these probably want to specify what should be passed inside target_* in cmake

[CMake:Deps:xml2]
include: PUBLIC ${LIBXML2_INCLUDE_DIR}
link: ${LIBXML2_LIBRARIES}
Tomáš Pecka's avatar
Tomáš Pecka committed

[CMake:Deps:threads]
link: ${CMAKE_THREAD_LIBS_INIT}
Tomáš Pecka's avatar
Tomáš Pecka committed

[CMake:Deps:Qt5Widgets]
link: Qt5::Widgets
include: ${Qt5Widgets_INCLUDE_DIRS}
Tomáš Pecka's avatar
Tomáš Pecka committed
find: Qt5 5.7 REQUIRED COMPONENTS Core Widgets
Tomáš Pecka's avatar
Tomáš Pecka committed

[CMake:Deps:Qt5Xml]
link: Qt5::Xml
include:${Qt5Xml_INCLUDE_DIRS}
Tomáš Pecka's avatar
Tomáš Pecka committed
find: Qt5 5.7 REQUIRED COMPONENTS Core Xml
Tomáš Pecka's avatar
Tomáš Pecka committed

[CMake:Deps:graphviz]
link: ${GRAPHVIZ_GVC_LIBRARY} ${GRAPHVIZ_CGRAPH_LIBRARY}
include: ${GRAPHVIZ_INCLUDE_DIR}
Tomáš Pecka's avatar
Tomáš Pecka committed

[CMake:Deps:json]
link: ${JSONCPP_LIBRARIES}
include: ${JSONCPP_INCLUDE_DIR}
Tomáš Pecka's avatar
Tomáš Pecka committed

[CMake:Deps:readline]
link: ${Readline_LIBRARY}
Tomáš Pecka's avatar
Tomáš Pecka committed
find: readline REQUIRED