CMakeLists.txt 718 Bytes
Newer Older
Tobias WEBER's avatar
Tobias WEBER committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#
# @author Tobias Weber
# @date dec-2018
# @license GPLv3, see 'LICENSE' file
#

cmake_minimum_required(VERSION 3.0)
project(cif2xml)


set(CMAKE_VERBOSE_MAKEFILE TRUE)

find_package(Boost REQUIRED)


Tobias WEBER's avatar
Tobias WEBER committed
16
set(CMAKE_CXX_STANDARD 17)
Tobias WEBER's avatar
Tobias WEBER committed
17 18 19 20 21 22 23 24 25 26 27 28 29
add_definitions(-std=c++2a -fconcepts)
add_definitions(${Boost_CXX_FLAGS})


include_directories(
	"${PROJECT_SOURCE_DIR}" "${Boost_INCLUDE_DIRS}/.." "../.."
	"../../ext/gemmi/include" "../../ext/gemmi/third_party"
	"ext" "ext/gemmi/include" "ext/gemmi/third_party"
)


add_executable(cif2xml
	cif2xml.cpp ../structfact/loadcif.h)
Tobias WEBER's avatar
Tobias WEBER committed
30
target_link_libraries(cif2xml
Tobias WEBER's avatar
Tobias WEBER committed
31 32
#	-static-libstdc++ -static-libgcc
)
Tobias WEBER's avatar
Tobias WEBER committed
33 34 35 36 37


add_executable(findsg
	findsg.cpp ../structfact/loadcif.h)
target_link_libraries(findsg)