Commit 770a3412 authored by pieper's avatar pieper
Browse files

COMP: initial cut at cmake files

git-svn-id: http://svn.slicer.org/Slicer4/trunk@5 3bd1e089-480b-0410-8dfb-8563597acbee
parent bdca8a19
PROJECT( Base )
SUBDIRS(
Logic
GUI
)
IF (Slicer3_BUILD_TESTING)
SUBDIRS( Testing )
ENDIF (Slicer3_BUILD_TESTING)
PROJECT( Slicer3 )
#
# Top level slicer3 configurations
#
SET (LIBRARY_OUTPUT_PATH ${Slicer3_BINARY_DIR}/lib/
CACHE PATH
"Single output directory for building all libraries."
FORCE)
SET (EXECUTABLE_OUTPUT_PATH ${Slicer3_BINARY_DIR}/bin/
CACHE PATH
"Single output directory for building all executables."
FORCE)
# Add the testing directories
OPTION(Slicer3_BUILD_TESTING "Test the project" ON)
IF(Slicer3_BUILD_TESTING)
ENABLE_TESTING()
INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)
ENDIF(Slicer3_BUILD_TESTING)
#
# Subdirectories
#
SUBDIRS(
Libs
Base
Modules
Applications
)
IF (Slicer3_BUILD_TESTING)
SUBDIRS( Testing )
ENDIF (Slicer3_BUILD_TESTING)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment