cmake_minimum_required(VERSION 2.8)

PROJECT(sigctest)

# Create common bin directory
FILE(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/bin)

#${CMAKE_SOURCE_DIR}/CMakeModules contains custom CMake modules to find our project specific dependencies
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeModules;${CMAKE_MODULE_PATH}")

INCLUDE (UtilityMacros)
Include (PCHMacros)
Include (LibFindMacros)

# this calls the script FindCSPDEVPACK.cmake in CMakeModules
# and sets DEVPACK_INCLUDE_DIR and DEVPACK_LIB_DIR
# FIND_PACKAGE(CSPDEVPACK REQUIRED) remove the devpack and integrate it with new find 
# methods for each library. This should fix Linux support.
FIND_PACKAGE(SigC REQUIRED)

INCLUDE_DIRECTORIES(${SIGCPP_CONFIG_INCLUDE_DIR}
					${SIGCPP_INCLUDE_DIR}
				   )

ADD_SUBDIRECTORY(test/helloworld)
