Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap
Commits
0bc2be45
Commit
0bc2be45
authored
4 years ago
by
Constantin Papizh
Browse files
Options
Downloads
Patches
Plain Diff
Linking errors
parent
a479b3c1
No related branches found
Branches containing commit
No related tags found
1 merge request
!38
Linking errors
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+6
-4
6 additions, 4 deletions
CMakeLists.txt
src/win32/CMakeLists.txt
+10
-0
10 additions, 0 deletions
src/win32/CMakeLists.txt
with
16 additions
and
4 deletions
CMakeLists.txt
+
6
−
4
View file @
0bc2be45
...
...
@@ -21,13 +21,10 @@ if(WIN32)
file
(
GLOB CORE_SRCS
src/*.c
src/etc/*.c
src/win32/*.c
src/rpmalloc/*.c
)
file
(
GLOB CORE_HEADERS
include/*.h
src/win32/*.h
src/win32/*.h
)
endif
()
...
...
@@ -81,7 +78,7 @@ if(NOT (${SUBMODULES_NO_BUILD} MATCHES ON))
endif
()
endif
()
add_library
(
${
PROJECT_NAME
}
STATIC
${
CORE_SRCS
}
${
CORE_
UNIX_SRC
S
}
)
add_library
(
${
PROJECT_NAME
}
STATIC
${
CORE_SRCS
}
${
CORE_
HEADER
S
}
)
#This paths will be used by project-dependent project libraries
target_include_directories
(
${
PROJECT_NAME
}
INTERFACE include/ src/rpmalloc/
)
...
...
@@ -109,6 +106,11 @@ if(ANDROID)
target_link_libraries
(
${
PROJECT_NAME
}
dap_core_android
)
endif
()
if
(
WIN32
)
add_subdirectory
(
src/win32
)
target_link_libraries
(
${
PROJECT_NAME
}
dap_core_win32
)
endif
()
if
(
BUILD_DAP_TESTS
)
enable_testing
()
add_subdirectory
(
test
)
...
...
This diff is collapsed.
Click to expand it.
src/win32/CMakeLists.txt
0 → 100644
+
10
−
0
View file @
0bc2be45
cmake_minimum_required
(
VERSION 3.0
)
project
(
dap_core_win32 C
)
file
(
GLOB CORE_SRCS *.c
)
file
(
GLOB CORE_HEADERS *.h
)
add_library
(
${
PROJECT_NAME
}
STATIC
${
CORE_SRCS
}
${
CORE_HEADERS
}
)
target_include_directories
(
${
PROJECT_NAME
}
INTERFACE .
)
\ No newline at end of file
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