From: Matthias Maier
Date: Tue, 3 May 2016 22:11:43 +0000 (-0500)
Subject: Revert "Merge pull request #2542 from davydden/cmake_user_projects"
X-Git-Tag: v8.5.0-rc1~1056^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab1e41cbbdd9dc3589bfcf485de159c5495380f;p=dealii.git
Revert "Merge pull request #2542 from davydden/cmake_user_projects"
This reverts commit 1ed97ee3164e968e18b596b67895443b9d327a0d, reversing
changes made to 6c7ecef6dd5a40583442ccaeb993779cffeca9cb.
---
diff --git a/doc/users/cmakelists.html b/doc/users/cmakelists.html
index 730da4db1c..ecc73de2a8 100644
--- a/doc/users/cmakelists.html
+++ b/doc/users/cmakelists.html
@@ -39,7 +39,6 @@
File globs
DEAL_II_SETUP_TARGET
revisited
DEAL_II_INITIALIZE_CACHED_VARIABLES
revisited
- Use only native CMake commands
Customizing include directories and compile definitions
External libraries
The "run" target revisited
@@ -530,30 +529,6 @@ href="#cmakeadvanced.setup_target">DEAL_II_SETUP_TARGET
for further details.
-
-Use only native CMake commands
-
-
-In order to have the ultimate flexibility, it is also possible to configure a
-user project using only native CMake commands, that is avoid usage of
-DEAL_II_INITIALIZE_CACHED_VARIABLES
and DEAL_II_SETUP_TARGET
macros.
-This can be achieved, for example, by the following code
-
-CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0)
-# Find and include deal.IIConfig.cmake
-FIND_PACKAGE(deal.II 8.5.0 REQUIRED
- HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
- )
-PROJECT(example)
-
-# Include deal.IITargets.cmake
-INCLUDE(${DEAL_II_TARGET_CONFIG})
-
-ADD_EXECUTABLE(example example.src)
-TARGET_LINK_LIBRARIES(example ${DEAL_II_TARGET})
-
-
-
Customizing include directories and compile definitions