Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Project in Bioinformatics
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bioinformatik
Project in Bioinformatics
Commits
df518e1c
Commit
df518e1c
authored
7 months ago
by
William Fledelius
Browse files
Options
Downloads
Patches
Plain Diff
Main.cpp to src linking fixed, tests still broken
parent
5a075e11
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+5
-13
5 additions, 13 deletions
CMakeLists.txt
src/CMakeLists.txt
+0
-3
0 additions, 3 deletions
src/CMakeLists.txt
src/HPModel.h
+0
-3
0 additions, 3 deletions
src/HPModel.h
test/basic_tests/CMakeLists.txt
+2
-6
2 additions, 6 deletions
test/basic_tests/CMakeLists.txt
with
7 additions
and
25 deletions
CMakeLists.txt
+
5
−
13
View file @
df518e1c
cmake_minimum_required
(
VERSION 3.25
)
project
(
BioinformatikProjekt
)
# Set architecture to ARM on Mac
set
(
CMAKE_OSX_ARCHITECTURES
"arm64"
)
# Set the C++ standard
set
(
CMAKE_CXX_STANDARD 20
)
# Specify source files for the main executable
set
(
SOURCE_FILES main.cpp
)
# Create the main executable target
add_executable
(
main_run
${
SOURCE_FILES
}
)
enable_testing
()
add_subdirectory
(
src
)
# Include directories
include_directories
(
src
)
include_directories
(
test
)
add_executable
(
main_run
${
SOURCE_FILES
}
)
target_link_libraries
(
main_run HPModel
)
target_link_libraries
(
main_run
PUBLIC
HPModel
)
# Include subdirectories for building
add_subdirectory
(
src
)
add_subdirectory
(
test
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
0
−
3
View file @
df518e1c
# Define the source files for the HPModel library
set
(
SOURCE_FILES HPModel.cpp
)
# Create a library target for HPModel
add_library
(
HPModel STATIC
${
SOURCE_FILES
}
)
# Specify the include directory for this library
target_include_directories
(
HPModel PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
)
This diff is collapsed.
Click to expand it.
src/HPModel.h
+
0
−
3
View file @
df518e1c
...
...
@@ -31,9 +31,6 @@ public:
// HPModel class declaration
class
HPModel
{
public:
// Constructor
HPModel
();
// Member functions
void
addPoint
(
DIRECTION
direction
,
bool
isHydrophobic
);
void
toString
()
const
;
...
...
This diff is collapsed.
Click to expand it.
test/basic_tests/CMakeLists.txt
+
2
−
6
View file @
df518e1c
# Include directories for GTest
include_directories
(
${
gtest_SOURCE_DIR
}
/include
${
gtest_SOURCE_DIR
}
)
# Add the test executable
add_executable
(
runBasicHPFoldTests basic_check.cpp
)
# Link the Google Test libraries
target_link_libraries
(
runBasicHPFoldTests gtest gtest_main
)
target_link_libraries
(
runBasicHPFoldTests
src_lib
gtest_main
)
target_link_libraries
(
runBasicHPFoldTests
HPModel
gtest_main
)
# Link the src_lib library target to the test executable
target_link_libraries
(
runBasicHPFoldTests src_lib
)
target_link_libraries
(
runBasicHPFoldTests HPModel
)
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