Skip to content

Commit 7eb6f4d

Browse files
committed
FIX
Changes to be committed: - modified: cmake/FileRaw.cmake - modified: cmake/Macro.cmake
1 parent 1b6947e commit 7eb6f4d

2 files changed

Lines changed: 30 additions & 27 deletions

File tree

cmake/FileRaw.cmake

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ macro(ae2f_FileRaw_init prm_STRGEN prm_BINGEN_BUFFSZ)
4747
endif()
4848

4949
file(GLOB_RECURSE ae2f_fileraw_last_exe ${ae2f_Preproc_BINROOT}/util/FileRaw/A${prm_STRGEN}/bin/**)
50-
message(STATUS "[ae2f::FileRaw::init] Succeed.")
50+
message(STATUS "[ae2f::FileRaw::init] ${ae2f_fileraw_last_exe}")
5151
endmacro()
5252

5353

@@ -61,11 +61,11 @@ function(ae2f_FileRaw_Run_One inp_file_absolute_cmake out_file_absolute_cmake)
6161
MAIN_DEPENDENCY ${inp_file_absolute}
6262

6363
COMMAND
64-
"\"${ae3f_easyredir_exe}\""
65-
"\"${inp_file_absolute}\""
66-
"\"${out_file_absolute}\""
67-
"\"${out_file_absolute}.err\"" 0
68-
"\"${ae2f_fileraw_last_exe}\""
64+
"${ae3f_easyredir_exe}"
65+
"${inp_file_absolute}"
66+
"${out_file_absolute}"
67+
"${out_file_absolute}.err" 0
68+
"${ae2f_fileraw_last_exe}"
6969
COMMENT "ae2f::FileRaw ${inp_file_absolute} ${out_file_absolute}"
7070
VERBATIM
7171
)
@@ -75,12 +75,12 @@ function(ae2f_FileRaw_Run_One inp_file_absolute_cmake out_file_absolute_cmake)
7575
MAIN_DEPENDENCY ${out_file_absolute}
7676

7777
COMMAND
78-
"\"${ae3f_easyredir_exe}\""
79-
\"${inp_file_absolute}\"
80-
\"${out_file_absolute}.err\"
81-
\"${out_file_absolute}.err\"
78+
"${ae3f_easyredir_exe}"
79+
"${inp_file_absolute}"
80+
"${out_file_absolute}.err"
81+
"${out_file_absolute}.err"
8282
0
83-
${CMAKE_COMMAND} --version
83+
"${CMAKE_COMMAND}" --version
8484
VERBATIM
8585
)
8686

@@ -96,13 +96,13 @@ function(ae2f_FileRaw_Run_One2 inp_file_absolute out_file_absolute keygen)
9696
MAIN_DEPENDENCY ${inp_file_absolute}
9797

9898
COMMAND
99-
\"${ae3f_easyredir_exe}\"
100-
\"${inp_file_absolute}\"
101-
\"${out_file_absolute}\"
102-
\"${out_file_absolute}.err\"
99+
"${ae3f_easyredir_exe}"
100+
"${inp_file_absolute}"
101+
"${out_file_absolute}"
102+
"${out_file_absolute}.err"
103103
0
104-
\"${ae2f_fileraw_last_exe}\"
105-
\"${keygen}\"
104+
"${ae2f_fileraw_last_exe}"
105+
${keygen}
106106

107107
COMMENT "ae2f::FileRaw2 ${inp_file_absolute} ${out_file_absolute}"
108108
VERBATIM
@@ -113,11 +113,11 @@ function(ae2f_FileRaw_Run_One2 inp_file_absolute out_file_absolute keygen)
113113
MAIN_DEPENDENCY ${out_file_absolute}
114114

115115
COMMAND
116-
\"${ae3f_easyredir_exe}\"
117-
\"${inp_file_absolute}\"
118-
\"${out_file_absolute}.err\"
119-
\"${out_file_absolute}.err\" 0
120-
${CMAKE_COMMAND} --version
116+
"${ae3f_easyredir_exe}"
117+
"${inp_file_absolute}"
118+
"${out_file_absolute}.err"
119+
"${out_file_absolute}.err" 0
120+
"${CMAKE_COMMAND}" --version
121121
VERBATIM
122122
)
123123
endfunction()

cmake/Macro.cmake

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ macro(ae2f_Macro_one prm_in_path_cmake prm_out_path_cmake)
8888
MAIN_DEPENDENCY ${prm_in}
8989

9090
COMMAND
91-
${ae3f_easyredir_exe}
92-
${prm_in} ${prm_out} ${prm_out}.err 0
93-
${ae2f_macro_last_exe}
91+
"${ae3f_easyredir_exe}"
92+
"${prm_in}"
93+
"${prm_out}"
94+
"${prm_out}.err" 0
95+
"${ae2f_macro_last_exe}"
9496

9597
COMMENT "ae2f::Macro ${prm_in} ${prm_out}"
9698
VERBATIM
@@ -100,8 +102,9 @@ macro(ae2f_Macro_one prm_in_path_cmake prm_out_path_cmake)
100102
OUTPUT ${prm_out}.err
101103
MAIN_DEPENDENCY ${prm_out}
102104
VERBATIM
103-
COMMAND ${ae3f_easyredir_exe} ${prm_in} ${prm_out}.err ${prm_out}.err 0
104-
${CMAKE_COMMAND} --version
105+
COMMAND "${ae3f_easyredir_exe}"
106+
"${prm_in}" "${prm_out}.err" "${prm_out}.err" 0
107+
"${CMAKE_COMMAND}" --version
105108
)
106109
endmacro()
107110

0 commit comments

Comments
 (0)