Skip to content

Commit 14ae614

Browse files
committed
Changes to be committed:
modified: cmake/Macro.cmake
1 parent bb167b1 commit 14ae614

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

cmake/Macro.cmake

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ endfunction()
100100

101101
function(ae2f_Macro_Lib_V prm_namespace prm_name prm_prefix
102102
prm_src_dir prm_src_glob
103-
prm_src_out_dir prm_src_out_ext
104-
105103
prm_inc_dir prm_inc_glob
106104
prm_inc_out_dir prm_inc_out_ext
107105

@@ -115,25 +113,19 @@ function(ae2f_Macro_Lib_V prm_namespace prm_name prm_prefix
115113
ae2f_Macro_cvrt(${file} ${prm_inc_out_dir} ${prm_inc_out_ext})
116114
endforeach()
117115

118-
foreach(file ${files-src})
119-
ae2f_Macro_cvrt(${file} ${prm_src_out_dir} ${prm_src_out_ext})
120-
endforeach()
121-
122-
123116
if(ae2f_MAC_BUILD)
124117
ae2f_CoreLibTentConfigCustom(
125118
${prm_name} ${prm_prefix} ${prm_include_dir}
126-
${prm_namespace} ${prm_config_file} ${files-src}
119+
${prm_namespace} ${prm_config_file}
127120
${ARGN}
128121
)
129122
else()
130-
file(GLOB_RECURSE ofiles-src "${prm_src_out_dir}/*${prm_src_out_ext}")
131123
file(GLOB_RECURSE ofiles-inc "${prm_inc_out_dir}/*${prm_inc_out_ext}")
132124

133125
ae2f_CoreLibTentConfigCustom(
134126
${prm_name} INTERFACE ${prm_include_dir}
135127
${prm_namespace} ${prm_config_file}
136-
${ofiles-src} ${ofiles-inc}
128+
${ofiles-inc}
137129
${ARGN}
138130
)
139131
endif()
@@ -146,7 +138,7 @@ function(ae2f_Macro_Lib prm_namespace prm_name prm_prefix
146138
)
147139
ae2f_Macro_Lib_V(
148140
${prm_namespace} ${prm_name} ${prm_prefix}
149-
${prm_in_dir} ${prm_in_glob} ${prm_out_dir} ${prm_out_ext}
141+
${prm_in_dir} ${prm_in_glob}
150142
${prm_in_dir} ${prm_in_glob} ${prm_out_dir} ${prm_out_ext}
151143
${prm_config_file} ${prm_include_dir}
152144
)

0 commit comments

Comments
 (0)