init
This commit is contained in:
35
README.md
Normal file
35
README.md
Normal file
@ -0,0 +1,35 @@
|
||||
# exPKG
|
||||
|
||||
## useage
|
||||
> ```c++
|
||||
> #include "EXPKG/EXPKG.h"
|
||||
>
|
||||
> int main(int argc, char** argv) {
|
||||
> CommandArgs args{ argc, argv};
|
||||
>
|
||||
> PKG::EXPKG decompress(args);
|
||||
> PKG::EXPKG decompress("path/to/file");
|
||||
> PKG::EXPKG decompress("path/to/file", "path/to/output/directory");
|
||||
>
|
||||
> return 0;
|
||||
> }
|
||||
>```
|
||||
|
||||
## Cmake
|
||||
>
|
||||
> use as subdirectory
|
||||
>
|
||||
> ```cmake
|
||||
> add_subdirectory(path/to/expkg)
|
||||
>
|
||||
>add_executable(${TARGET} ${SRC_SOURCE})
|
||||
>target_link_libraries(${TARGET} expkg-static)
|
||||
>
|
||||
> # or use dll by
|
||||
> # target_link_libraries(${TARGET} expkg-shared)
|
||||
>```
|
||||
> then
|
||||
> ```bash
|
||||
> cmake -B build
|
||||
> cmake --build build --config Release -j8
|
||||
>```
|
||||
Reference in New Issue
Block a user