Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
7f53a6bf
Commit
7f53a6bf
authored
7 years ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
Fix header install
parent
dbd502bd
No related branches found
No related tags found
1 merge request
!55
Fix #42 - HQR header installation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/CMakeLists.txt
+18
-35
18 additions, 35 deletions
include/CMakeLists.txt
with
18 additions
and
35 deletions
include/CMakeLists.txt
+
18
−
35
View file @
7f53a6bf
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# of Tennessee Research Foundation.
# All rights reserved.
# All rights reserved.
# @copyright (c) 2012-2017
Inria. All rights reserved.
# @copyright (c) 2012-2017
Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
#
@copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
Univ. Bordeaux. All rights reserved.
#
Univ. Bordeaux. All rights reserved.
#
#
###
###
#
#
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#
#
###
###
# Generate the morse headers for all possible precisions
# Generate the morse headers for all possible precisions
# ------------------------------------------------------
# ------------------------------------------------------
set
(
CHAMELEON_HDRS_GENERATED
""
)
set
(
CHAMELEON_HDRS_GENERATED
""
)
...
@@ -49,45 +48,29 @@ configure_file("chameleon/chameleon_config.h.in"
...
@@ -49,45 +48,29 @@ configure_file("chameleon/chameleon_config.h.in"
# Define the list of headers
# Define the list of headers
# --------------------------
# --------------------------
set
(
CHAMELEON_HDRS
set
(
CHAMELEON_HDRS
chameleon/chameleon_config.h
${
CMAKE_CURRENT_BINARY_DIR
}
/chameleon/chameleon_config.h
chameleon/morse_constants.h
${
CMAKE_CURRENT_BINARY_DIR
}
/chameleon/morse_mangling.h
chameleon/morse_kernels.h
chameleon/morse_constants.h
chameleon/morse_mangling.h
chameleon/morse_kernels.h
chameleon/morse_runtime.h
chameleon/morse_runtime.h
chameleon/morse_simulate.h
chameleon/morse_simulate.h
chameleon/morse_struct.h
chameleon/morse_struct.h
chameleon/morse_tasks.h
chameleon/morse_tasks.h
chameleon/morse_types.h
chameleon/morse_types.h
${
CHAMELEON_HDRS_GENERATED
}
)
)
#
set(flags_to_add "")
#
Add generated headers
#
foreach(_prec ${CHAMELEON_PRECISION})
#
---------------------
# set(flags_to_add "${flags_to_add} -DPRECISION_${_prec}"
)
foreach
(
hdr_file
${
CHAMELEON_HDRS_GENERATED
}
)
# endforeach(
)
list
(
APPEND CHAMELEON_HDRS
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
hdr_file
}
)
# set_source_files_properties(runtime.h PROPERTIES COMPILE_FLAGS "${flags_to_add}"
)
endforeach
(
)
# Force generation of headers
# Force generation of headers
# ---------------------------
# ---------------------------
add_custom_target
(
chameleon_include
add_custom_target
(
chameleon_include
ALL SOURCES morse.h
${
CHAMELEON_HDRS
}
)
ALL SOURCES morse.h
${
CHAMELEON_HDRS
}
)
# set(HDR_INSTALL
# Installation
# chameleon/chameleon_config.h
# chameleon/morse_constants.h
# chameleon/morse_kernels.h
# chameleon/morse_simulate.h
# chameleon/morse_struct.h
# chameleon/morse_types.h
# chameleon/morse_mangling.h
# chameleon/runtime.h
# ${CHAMELEON_HDRS_GENERATED}
# )
# foreach( hdr_file ${CHAMELEON_HDRS_GENERATED} )
# list(APPEND HDR_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/${hdr_file})
# endforeach()
# installation
# ------------
# ------------
install
(
FILES morse.h
install
(
FILES morse.h
DESTINATION include
)
DESTINATION include
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment