CMakeLists.txt
author Radek Brich <radek.brich@devl.cz>
Tue, 26 Jul 2016 18:19:37 +0200
branchpyrit
changeset 104 2274a07510c1
parent 103 3b3257a410fe
permissions -rw-r--r--
Cleanup, dropped Windows support
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
103
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     1
# This is still incomplete, use SCons for now.
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     2
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     3
cmake_minimum_required(VERSION 3.0)
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     4
project(pyrit)
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     5
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     6
file(GLOB SOURCES
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     7
     src/*.cc
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     8
     include/*.h)
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     9
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    10
add_library(pyrit STATIC ${SOURCES})
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    11
target_include_directories(pyrit PRIVATE include)