Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ttddee authored Nov 17, 2020
1 parent 02ae855 commit 797be8f
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Cascade is a node-based image editor with GPU-acceleration.

This is still an early prototype and not ready for production use.
This is still an early prototype.

## Download

Expand Down Expand Up @@ -39,41 +39,52 @@ I order to build on Windows you will need the following:
- A Vulkan-capable graphics driver. [Here](https://vulkan.gpuinfo.org/) is a list of compatible devices and driver versions.
- [Microsoft VcPkg](https://github.com/microsoft/vcpkg) is not a must but makes it easy to install the dependencies.
- MSVC. Comes with Visual Studio.
- [Qt](https://www.qt.io/) version 5.10 or above
- [Qt](https://www.qt.io/) version 5.10 or above.

#### Clone the project

`git clone --recurse-submodules https://github.com/ttddee/Cascade`
```console
git clone --recurse-submodules https://github.com/ttddee/Cascade
```

#### Install dependencies

From your VcPkg folder do:

```
```console
vcpkg install openimageio:x64-windows

vcpkg install opencolorio:x64-windows

vcpkg install gtest:x64-windows```
vcpkg install gtest:x64-windows
```


#### Build submodule

Open the project file *Cascade/external/qtadvanceddocking/ads.pro* in QtCreator and configure it for MSVC2019 x64. Specify *Cascade/external/qtadvanceddocking/build as your build directory.
Open the project file *Cascade/external/qtadvanceddocking/ads.pro* in QtCreator and configure it for **MSVC2019 x64**.

Specify *Cascade/external/qtadvanceddocking/build* as your build directory.

Now build both *debug* and *release* targets within QtCreator.


#### Configure Cascade.pro

Open Cascade.pro in QtCreator. Configure MSVC2019 as compiler and *Cascade/build* as your build directory.
Open *Cascade.pro* in QtCreator. Configure **MSVC2019 x64** as compiler and *Cascade/build* as your build directory.

In the Windows section of the .pro file (win32-msvc*) there are three variables that tell QMake where to find stuff:

- **VCPKG_INSTALL_PATH**: Point this to you VcPkg install directory. In my case that is *C:/Users/till/vcpkg*.
- **QT_INSTALL_PATH**: Point this to your Qt installation. In my case that is *C:/Qt515/5.15.1*.
- **MSVC_INSTALL_PATH**: Point this to your where the MSVC compilers binaries are. In my case that is *C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64*.
**VCPKG_INSTALL_PATH**: Point this to your VcPkg install directory. In my case that is *C:/Users/till/vcpkg*.

**QT_INSTALL_PATH**: Point this to your Qt installation. In my case that is *C:/Qt515/5.15.1*.

**MSVC_INSTALL_PATH**: Point this to your where the MSVC compilers binaries are.
In my case that is *C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64*.

If all went well you should be able to build the project now.


### Linux

Coming soon...
Expand Down

0 comments on commit 797be8f

Please sign in to comment.