FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
exodusIIcpp/python/src/CMakeLists.txt at main · andrsd/exodusIIcpp · GitHub
andrsd
/
exodusIIcpp
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
1
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
exodusIIcpp
/
python
/
src
/
CMakeLists.txt
Copy path
More file actions
More file actions
Latest commit
History
History
History
38 lines (29 loc) · 819 Bytes
Breadcrumbs
exodusIIcpp
/
python
/
src
/
CMakeLists.txt
Copy path
File metadata and controls
38 lines (29 loc) · 819 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
project
(pyexodusIIcpp
LANGUAGES
C
CXX
)
find_package
(
pybind11
2.9
REQUIRED
)
pybind11_add_module
(
pyexodusIIcpp
exodusIIcpp.cpp
)
set_target_properties
(pyexodusIIcpp PROPERTIES
OUTPUT_NAME
exodusIIcpp)
target_include_directories
(
pyexodusIIcpp
PRIVATE
${
CMAKE_BINARY_DIR
}
${
CMAKE_SOURCE_DIR
}
/include
${
PROJECT_BINARY_DIR
}
)
target_link_libraries
(
pyexodusIIcpp
PUBLIC
exodusIIcpp
)
configure_file
(
version
.h.in
version
.h
)
set
(PYTHON_SITE lib/python
${Python3_VERSION_MAJOR}
.
${Python3_VERSION_MINOR}
/site-packages)
install
(
TARGETS
pyexodusIIcpp
COMPONENT
python
LIBRARY
DESTINATION
${PYTHON_SITE}
/exodusIIcpp
)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/exodusIIcpp/__init__.py
DESTINATION
${PYTHON_SITE}
/exodusIIcpp
COMPONENT
python
)
Back
|
FazBrowse Home
|
New Git URL