Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Eisgenerator
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Klemm, Carl Philipp
Eisgenerator
Commits
b03841c7
Commit
b03841c7
authored
3 years ago
by
Carl Klemm
Browse files
Options
Downloads
Patches
Plain Diff
reorganize headers
parent
ad82c2dc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+18
-11
18 additions, 11 deletions
CMakeLists.txt
with
18 additions
and
11 deletions
CMakeLists.txt
+
18
−
11
View file @
b03841c7
...
...
@@ -16,18 +16,25 @@ set(SRC_FILES
basicmath.cpp
)
set
(
API_HEADERS
eisgenerator/componant.h
eisgenerator/cap.h
eisgenerator/resistor.h
eisgenerator/constantphase.h
eisgenerator/warburg.h
eisgenerator/model.h
eisgenerator/log.h
eisgenerator/paralellseriel.h
eisgenerator/basicmath.h
set
(
API_HEADERS_CPP_DIR eisgenerator/
)
set
(
API_HEADERS_CPP
${
API_HEADERS_CPP_DIR
}
/componant.h
${
API_HEADERS_CPP_DIR
}
/cap.h
${
API_HEADERS_CPP_DIR
}
/resistor.h
${
API_HEADERS_CPP_DIR
}
/constantphase.h
${
API_HEADERS_CPP_DIR
}
/warburg.h
${
API_HEADERS_CPP_DIR
}
/model.h
${
API_HEADERS_CPP_DIR
}
/log.h
${
API_HEADERS_CPP_DIR
}
/paralellseriel.h
${
API_HEADERS_CPP_DIR
}
/basicmath.h
${
API_HEADERS_CPP_DIR
}
/eistype.h
)
set
(
API_HEADERS_C_DIR eisgenerator/c/
)
set
(
API_HEADERS_C
${
API_HEADERS_CPP_DIR
}
/model.h
)
add_library
(
${
PROJECT_NAME
}
SHARED
${
SRC_FILES
}
)
target_link_libraries
(
${
PROJECT_NAME
}
${
LIBS
}
)
target_include_directories
(
${
PROJECT_NAME
}
PUBLIC eisgenerator
)
...
...
@@ -35,7 +42,7 @@ set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "-std=c++20 -Wall
set
(
CMAKE_INSTALL_PREFIX
"/usr"
)
install
(
TARGETS
${
PROJECT_NAME
}
DESTINATION lib
)
install
(
FILES
${
API_HEADERS
}
DESTINATION include/
${
PROJECT_NAME
}
)
install
(
FILES
${
API_HEADERS
_CPP
}
DESTINATION include/
${
PROJECT_NAME
}
)
install
(
FILES eisgenerator_plot DESTINATION bin PERMISSIONS WORLD_EXECUTE WORLD_READ
OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
)
...
...
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