]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Make sure to compile test_affinity.cc correctly
authorMatthias Maier <tamiko@kyomu.43-1.org>
Sat, 20 Jul 2013 08:31:48 +0000 (08:31 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sat, 20 Jul 2013 08:31:48 +0000 (08:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@30074 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/test_affinity/CMakeLists.txt

index 0a737d4ae337baee340d36ea9d7ca3bb8e65bf8f..83075153c0dd0be2dbfd247bb58280ee49766873 100644 (file)
 
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
 
-# FIND_PACKAGE(deal.II 8.0 REQUIRED)
-# DEAL_II_SETUP_CACHED_VARIABLES()
-# PROJECT(test_affinity)
+INCLUDE_DIRECTORIES(
+  BEFORE
+  ${CMAKE_SOURCE_DIR}/include/
+  ${CMAKE_BINARY_DIR}/include/
+  )
+
 ADD_EXECUTABLE(test_affinity
   test_affinity.cc
   )
-#DEAL_II_SETUP_TARGET()
 
 IF(CMAKE_BUILD_TYPE MATCHES "Debug")
   SET(_build "DEBUG")
@@ -42,14 +44,3 @@ TARGET_LINK_LIBRARIES(test_affinity ${DEAL_II_BASE_NAME}${DEAL_II_${_build}_SUFF
 IF(NOT CMAKE_CROSSCOMPILING)
   ADD_CUSTOM_TARGET(run_test_affinity COMMAND test_affinity)
 ENDIF()
-
-# IF("${DEAL_II_EXECUTABLE_RELDIR}" STREQUAL "")
-#   SET(DEAL_II_EXECUTABLE_RELDIR "bin")
-# ENDIF()
-
-# INSTALL(TARGETS test_affinity
-#   RUNTIME
-#   DESTINATION ${DEAL_II_EXECUTABLE_RELDIR}
-#   COMPONENT mesh_converter
-#   )
-

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.