#**********************************************************************
#* Copyright (c) 2009 David Carter <dcarter@davidcarter.ca> and others.
#* All rights reserved.   This program and the accompanying materials
#* are made available under the terms of the Eclipse Public License v1.0
#* which accompanies this distribution, and is available at
#* http://www.eclipse.org/legal/epl-v10.html
#*
#* Contributors:
#* David Carter - Initial API and implementation
#**********************************************************************

include_directories (${QPP_SOURCE_DIR}/include) 

add_library (qpp ${LIB_TYPE} QPP.cpp Job.cpp Node.cpp QPPExceptions.cpp Statistics.cpp)
install (TARGETS qpp 
	LIBRARY DESTINATION lib
	ARCHIVE DESTINATION lib)

#
# Library version numbers (SOVERSION):
#	First digit: Interface version
#	Second digit: revision
#	Third digit: last compatible version = (Interface - #3)
#
# For example
#	1.2.0 is interface 1 and compatible with version 1, but this is revision 2
#	3.0.1 is interface 3, revision 0, compatible with interface 2 and later
#
#	These would correspond to versions 1.2 and 3.0
#
set_target_properties (qpp PROPERTIES SOVERSION 1.0.0
					VERSION 1.0)

