forked from bloomberg/bde
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.cmake
32 lines (28 loc) · 917 Bytes
/
project.cmake
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
include(bde_project)
include(bde_utils)
function(process outInfoTarget listDir)
bde_assert_no_extra_args()
set(projName bde.p)
bde_struct_create(BDE_PROJECT_TYPE ${projName})
# postfix needed because of clash with bde-classic group name
bde_process_project_uors(
${projName}
COMMON_INTERFACE_TARGET
bde_ufid_flags
PACKAGE_GROUPS
${listDir}/groups/bal
${listDir}/groups/bbl
${listDir}/groups/bdl
${listDir}/groups/bsl
${listDir}/groups/btl
)
# Note, that thirdparty libraries do not use COMMON_INTERFACE_TARGET
bde_process_project_uors(
${projName}
STANDALONE_PACKAGES
${listDir}/thirdparty/decnumber
${listDir}/thirdparty/inteldfp
${listDir}/thirdparty/pcre2
)
set(${outInfoTarget} ${projName} PARENT_SCOPE)
endfunction()