Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
72f348c3
Commit
72f348c3
authored
15 years ago
by
Jonathan Lambrechts
Browse files
Options
Downloads
Patches
Plain Diff
add HAVE_DLOPEN in CMake (for unix only)
parent
964b0340
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+6
-0
6 additions, 0 deletions
CMakeLists.txt
Common/GmshConfig.h.in
+1
-0
1 addition, 0 deletions
Common/GmshConfig.h.in
with
7 additions
and
0 deletions
CMakeLists.txt
+
6
−
0
View file @
72f348c3
...
@@ -737,6 +737,12 @@ if(UNIX)
...
@@ -737,6 +737,12 @@ if(UNIX)
set_source_files_properties
(
${
NON_OPTIMIZED_SRC
}
COMPILE_FLAGS
"-O0"
)
set_source_files_properties
(
${
NON_OPTIMIZED_SRC
}
COMPILE_FLAGS
"-O0"
)
endif
(
UNIX
)
endif
(
UNIX
)
if
(
UNIX
)
#DLOpen
set
(
HAVE_DLOPEN true
)
list
(
APPEND EXTERNAL_LIBRARIES
${
CMAKE_DL_LIB
}
)
endif
(
UNIX
)
if
(
MSVC
)
if
(
MSVC
)
add_definitions
(
-D_USE_MATH_DEFINES -DNOMINMAX
add_definitions
(
-D_USE_MATH_DEFINES -DNOMINMAX
-D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE
)
-D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE
)
...
...
This diff is collapsed.
Click to expand it.
Common/GmshConfig.h.in
+
1
−
0
View file @
72f348c3
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
#cmakedefine HAVE_ANN
#cmakedefine HAVE_ANN
#cmakedefine HAVE_BLAS
#cmakedefine HAVE_BLAS
#cmakedefine HAVE_CHACO
#cmakedefine HAVE_CHACO
#cmakedefine HAVE_DLOPEN
#cmakedefine HAVE_DINTEGRATION
#cmakedefine HAVE_DINTEGRATION
#cmakedefine HAVE_FLTK
#cmakedefine HAVE_FLTK
#cmakedefine HAVE_FL_TREE
#cmakedefine HAVE_FL_TREE
...
...
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