Skip to content

Commit 973e84b

Browse files
committed
README.md, autogen.sh: encourage cmake
Especially for MSW, where GPUJPEG's autotool configuration isn't expected to work and it is quite difficult to make it (spaces in CUDA path in combination with libtool).
1 parent 0971703 commit 973e84b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ files are placed) and run `cmake` command:
181181
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CUDA_ARCHITECTURES=native -Bbuild .
182182
cmake --build build --config Release
183183

184-
You can also use **autotools** to create a build recipe for the library and the
185-
application or a plain old _Makefile.bkp_. However, _cmake_ is recommended.
184+
In Linux, you can also use **autotools** to create a build recipe for
185+
the library and the application or a plain old _Makefile.bkp_. However,
186+
_cmake_ is recommended.
186187

187188
Usage
188189
-----

autogen.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,12 @@ STATUS=$?
2424

2525
([ $STATUS -eq 0 ] && echo "Autogen done." ) || echo "Autogen failed."
2626

27+
echo "Note: CMake is now preferred for GPUJPEG build configuration."
28+
29+
if expr "$(uname -s)" : MSYS >/dev/null; then
30+
printf "\nIt is highly probable that autoconf won't work in MSW - \
31+
use cmake if possible\n"
32+
fi
33+
2734
exit $STATUS
2835

0 commit comments

Comments
 (0)