Skip to content

Commit c71acb8

Browse files
committed
Improves packaging performance by enabling parallel jobs
Adds parallel job support to the packaging step by passing the `-j` flag to CPack. Utilizes the number of processors to speed up the packaging process, enhancing efficiency during builds.
1 parent eaa6e1c commit c71acb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build_and_package.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ REM Build the project with CMake
1515
cmake --build . --config Release --parallel %NUMBER_OF_PROCESSORS%
1616

1717
REM Package the project with CPack and the IFW generator
18-
cpack -G IFW
18+
cpack -G IFW -j %NUMBER_OF_PROCESSORS%
1919

2020
cd ..
2121

0 commit comments

Comments
 (0)