Revision 15cf3f6f902bd3cedbe7d7c453778a2f363b42b2 authored by Christophe Prud'homme on 21 February 2015, 00:18:33 UTC, committed by Christophe Prud'homme on 21 February 2015, 00:18:33 UTC
1 parent b6f6097
Raw File
CMakeLists.txt
###  TEMPLATE.txt.tpl; coding: utf-8 ---

#  Author(s): Christophe Prud'homme <prudhomme@unistra.fr>
#       Date: 2012-12-16
#
#  Copyright (C) 2012 Feel++ Consortium
#
# Distributed under the GPL(GNU Public License):
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
project(quickstart)

if ( ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR} )
  cmake_minimum_required(VERSION 2.8)

  FIND_PATH(FEELPP_CMAKE_MODULES FindFeel++.cmake PATH $ENV{FEELPP_DIR}/share/feel/cmake/modules /usr/share/feel/cmake/modules/ /usr/local/share/feel/cmake/modules/ )
  
  if ( FEELPP_CMAKE_MODULES )
    set(CMAKE_MODULE_PATH ${FEELPP_CMAKE_MODULES})
  else()
    message(FATAL_ERROR "Feel++ does not seem to have been installed on this platform")
  endif()
  Find_Package(Feel++)
endif()

enable_testing()

if ( NOT TARGET check )
  add_custom_target(check)
endif()

add_custom_target(quickstart)

add_custom_target(quickstart-check COMMAND "ctest" ARGS "-VV" "-R" "qs")
add_dependencies(quickstart-check quickstart)
add_dependencies(check quickstart-check)



add_subdirectory(laplacian)
add_subdirectory(fluid)
add_subdirectory(solid)
back to top