Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dartflo
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aerospace and Mechanical Engineering
dartflo
Commits
183dc3c4
Commit
183dc3c4
authored
2 years ago
by
Adrien Crovato
Browse files
Options
Downloads
Patches
Plain Diff
Retain SWIG flags in CMake
parent
34f303de
No related branches found
Branches containing commit
Tags
v1.2.0
Tags containing commit
No related merge requests found
Pipeline
#9555
passed
2 years ago
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dart/_src/CMakeLists.txt
+1
-1
1 addition, 1 deletion
dart/_src/CMakeLists.txt
ext/amfe
+1
-1
1 addition, 1 deletion
ext/amfe
vii/_src/CMakeLists.txt
+1
-1
1 addition, 1 deletion
vii/_src/CMakeLists.txt
with
3 additions
and
3 deletions
dart/_src/CMakeLists.txt
+
1
−
1
View file @
183dc3c4
...
...
@@ -20,7 +20,7 @@ FILE(GLOB SRCS *.h *.cpp *.inl *.swg)
FILE
(
GLOB ISRCS *.i
)
SET_SOURCE_FILES_PROPERTIES
(
${
ISRCS
}
PROPERTIES CPLUSPLUS ON
)
SET
(
CMAKE_SWIG_FLAGS
"-interface"
"_dartw"
)
# avoids "import _module_d" with MSVC/Debug
SET
(
CMAKE_SWIG_FLAGS
${
CMAKE_SWIG_FLAGS
}
"-interface"
"_dartw"
)
# avoids "import _module_d" with MSVC/Debug
SWIG_ADD_LIBRARY
(
dartw LANGUAGE python SOURCES
${
ISRCS
}
${
SRCS
}
)
SET_PROPERTY
(
TARGET dartw PROPERTY SWIG_USE_TARGET_INCLUDE_DIRECTORIES ON
)
MACRO_DebugPostfix
(
dartw
)
...
...
This diff is collapsed.
Click to expand it.
amfe
@
7b5a21b0
Compare
72c873b1
...
7b5a21b0
Subproject commit 7
2c873b
11
8
e9
67a5dfbc2cbb4493f080be261752
Subproject commit 7
b5a21b0c5fc3885a
11e9
8ebc2e5acbd19bc55bf
This diff is collapsed.
Click to expand it.
vii/_src/CMakeLists.txt
+
1
−
1
View file @
183dc3c4
...
...
@@ -20,7 +20,7 @@ FILE(GLOB SRCS *.h *.cpp *.inl *.swg)
FILE
(
GLOB ISRCS *.i
)
SET_SOURCE_FILES_PROPERTIES
(
${
ISRCS
}
PROPERTIES CPLUSPLUS ON
)
SET
(
CMAKE_SWIG_FLAGS
"-interface"
"_viiw"
)
# avoids "import _module_d" with MSVC/Debug
SET
(
CMAKE_SWIG_FLAGS
${
CMAKE_SWIG_FLAGS
}
"-interface"
"_viiw"
)
# avoids "import _module_d" with MSVC/Debug
SWIG_ADD_LIBRARY
(
viiw LANGUAGE python SOURCES
${
ISRCS
}
${
SRCS
}
)
SET_PROPERTY
(
TARGET viiw PROPERTY SWIG_USE_TARGET_INCLUDE_DIRECTORIES ON
)
MACRO_DebugPostfix
(
viiw
)
...
...
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