Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GeoModelVisualization
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
GeoModelDev
GeoModelVisualization
Commits
fc4c0eb3
Commit
fc4c0eb3
authored
May 6, 2020
by
Joseph Boudreau
Browse files
Options
Downloads
Patches
Plain Diff
no need to set gxpluginpath for the mac. Other platforms: not yet
parent
e4f08f80
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
GeoModelExplorer/src/main.cxx
+20
-2
20 additions, 2 deletions
GeoModelExplorer/src/main.cxx
with
20 additions
and
2 deletions
GeoModelExplorer/src/main.cxx
+
20
−
2
View file @
fc4c0eb3
...
...
@@ -17,10 +17,28 @@
// C++ includes
#include
<iostream>
#include
<stdlib
.h
>
#include
<
c
stdlib>
int
main
(
int
argc
,
char
**
argv
)
{
auto
pManip
=
[]
(
const
char
*
variable
,
const
char
*
plus
)
{
const
char
*
path
=
getenv
(
variable
);
if
(
path
)
{
std
::
string
newPath
=
std
::
string
(
path
)
+
":"
+
plus
;
setenv
(
variable
,
newPath
.
c_str
(),
true
);
}
else
{
setenv
(
variable
,
plus
,
true
);
}
};
// JFB Put some defaults. This depends upon architecture. The list should
// be expanded to include other architectures and/or passed in through the
// compiler.
#ifdef __APPLE__
pManip
(
"GXPLUGINPATH"
,
"/usr/local/lib/gxplugins"
);
#endif
QStringList
arguments
;
for
(
int
i
=
0
;
i
<=
argc
;
i
++
){
...
...
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
sign in
to comment