Skip to content

Commit

Permalink
README.md: do not discourage cmake for Win
Browse files Browse the repository at this point in the history
CMake nowadays works normally in Windows world so do not discourage its
usage here.
  • Loading branch information
MartinPulec committed Mar 27, 2023
1 parent 7388c8a commit 7a84b4d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,7 @@ files are placed) and run `cmake` command:
cmake --build build

You can also use **autotools** to create a build recipe for the library and the
application or a plain old _Makefile.bkp_.

In _Windows_ you may want to **avoid using the build system** at all and use the
following command directly:

nvcc -I. -DGPUJPEG_EXPORTS -o gpujpeg.dll --shared src/gpujpeg_*c src/gpujpeg*cu src/utils/*cpp # library
nvcc -I. -o gpujpeg src/*c src/*cu src/utils/*cpp # console application

or (in _Linux_):

nvcc -I. -Xcompiler -fPIC -o gpujpeg.so --shared src/gpujpeg_*c src/gpujpeg*cu src/utils/*cpp # library
nvcc -I. -o gpujpeg src/*c src/*cu src/utils/*cpp # console application
application or a plain old _Makefile.bkp_. However, _cmake_ is recommended.

Usage
-----
Expand Down

0 comments on commit 7a84b4d

Please sign in to comment.