Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A amdis
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • iwr
  • amdis
  • Merge requests
  • !13

Issue/cmake cleanup

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Praetorius, Simon requested to merge issue/cmake_cleanup into master Oct 26, 2016
  • Overview 0
  • Commits 1
  • Changes 34

CMake files for old and new (>=3.2) cmake versions are now synchonized, i.e. do nearly exactly the same, except for the used cmake commands.

The targets are now named according to a configuration, i.e. sequential targets get the suffix -s and parallel targets the suffix -p. For a debug configuration the suffix d is added addeitionally.

This several AMDiS versions can be installed in the same directory.

The AMDiSConfig.cmake script provides a component argument, where you can specify which configuration to load:

find_package(AMDiS 1.1 REQUIRED [PARALLEL|SEQUENTIAL])
add_executable(yourTarget <yourSources>)
include_directories(${AMDIS_INCLUDE_DIRS})
compile_definitions(${AMDIS_COMPILEFLAGS})
target_link_libraries(yourTarget ${AMDIS_LIBRARIES})

Additionally a version argument can be provided, since a AMDiSConfigVersion.cmake file is generated.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: issue/cmake_cleanup