Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CrysFML
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scientific Software
CrysFML
Commits
e1bdcb3d
Commit
e1bdcb3d
authored
Apr 27, 2020
by
juan rodriguez-carvajal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes in Cmake scripts for CrysFML08 ...
parent
76cf6427
Pipeline
#7269
passed with stages
in 8 minutes and 1 second
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
Src08/crysfml08_common.cmake
Src08/crysfml08_common.cmake
+10
-2
cmake/set_compiler_flags_08.cmake
cmake/set_compiler_flags_08.cmake
+1
-1
No files found.
Src08/crysfml08_common.cmake
View file @
e1bdcb3d
...
...
@@ -132,8 +132,9 @@ set(TABLES_1_SRC CFML_Scattering_Tables.f90
set
(
TABLES_2_SRC CFML_Symmetry_Tables.f90
CFML_BVS_Tables.f90
CFML_Magnetic_Database.f90
CFML_SuperSpace_Database.f90
${
SUBMOD_TABLES_2_SRC
}
)
CFML_SuperSpace_Database.f90
)
set
(
TABLES_3_SRC
${
SUBMOD_TABLES_2_SRC
}
)
if
(
${
COMPILER_NAME
}
STREQUAL ifort
)
set_source_files_properties
(
${
TABLES_1_SRC
}
PROPERTIES COMPILE_FLAGS
${
OPT_FLAGS
}
${
OPT_FLAGS1
}
${
OPT_FLAGS2
}
)
...
...
@@ -144,9 +145,15 @@ endif()
if
(
${
COMPILER_NAME
}
STREQUAL ifort
)
set_source_files_properties
(
${
TABLES_2_SRC
}
PROPERTIES COMPILE_FLAGS
${
OPT_FLAGS
}
${
OPT_FLAGS0
}
${
OPT_FLAGS2
}
)
set_source_files_properties
(
${
TABLES_3_SRC
}
PROPERTIES COMPILE_FLAGS
"
${
OPT_FLAGS
}
${
OPT_FLAGS0
}
"
)
else
()
set_source_files_properties
(
${
TABLES_2_SRC
}
PROPERTIES COMPILE_FLAGS
${
OPT_FLAGSC
}
${
OPT_FLAGS0
}
)
set_source_files_properties
(
${
TABLES_3_SRC
}
PROPERTIES COMPILE_FLAGS
${
OPT_FLAGSC
}
${
OPT_FLAGS0
}
)
endif
()
# CFML_gSpaceGroups
...
...
@@ -272,6 +279,7 @@ set(CRYSFML_COMMON_SRC
${
METRICS_SRC
}
${
TABLES_1_SRC
}
${
TABLES_2_SRC
}
${
TABLES_3_SRC
}
${
GROUPS_SRC
}
${
PROFILE_1_SRC
}
${
PROFILE_2_SRC
}
...
...
cmake/set_compiler_flags_08.cmake
View file @
e1bdcb3d
...
...
@@ -10,7 +10,7 @@ macro(set_compiler_flags_08)
if
(
COMPILER_NAME STREQUAL ifort
)
if
(
CMAKE_BUILD_TYPE STREQUAL Debug
)
set
(
OPT_FLAGS
"/nologo"
)
set
(
OPT_FLAGS0
"/
debug:full /check /check:noarg_temp_created /traceback /nologo /CB
"
)
set
(
OPT_FLAGS0
"/
Od
"
)
set
(
OPT_FLAGS1
"/debug:full /check /check:noarg_temp_created /traceback /nologo /CB"
)
elseif
(
CMAKE_BUILD_TYPE STREQUAL Release
)
set
(
OPT_FLAGS
"/nologo"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment