Re: [CMake] Beginning to compiling CMake file

2018-08-08 Thread CrestChristopher
Hi, From my understanding I must compile with Powershell ? These variables mentioned in the appveyor file they are environment variables which are set within cPanel ? What is the first step I need to do and with what file from the repository whether in PowerShell or CMake or both ? Thanks

Re: [CMake] Beginning to compiling CMake file

2018-08-03 Thread Volker Enderlein
Hi, the configuration step of OSL is running this command (via a powershell command), $... denotes always variables defined somewhere in the appveyor file, $env: denotes environment variables. cmake ..\.. -G "$GENERATOR" -DCMAKE_CONFIGURATION_TYPES="$env:CONFIGURATION" -DCMAKE_PREFIX_PATH="

Re: [CMake] Beginning to compiling CMake file

2018-08-03 Thread CrestChristopher
Hi, I assume that the first link I posted which was a link to OSL Toy within the Open Shading Language repository uses the methods which you mention to compile the file ? i.e. the top level directory of the github project, you'll se an appveyor.yml file entry. That is the information for the c

Re: [CMake] Beginning to compiling CMake file

2018-08-02 Thread Volker Enderlein
If you go to https://github.com/imageworks/OpenShadingLanguage i.e. the top level directory of the github project, you'll se an appveyor.yml file entry. That is the information for the continuous integration tool (CI, AppVeyor) they are using to build the project from scratch. If you look into

Re: [CMake] Beginning to compiling CMake file

2018-08-02 Thread CrestChristopher
Sorry, what is this information for; and how can it be used within the `build_script` section in the appveyor.yml file ? On 8/2/2018 9:30 AM, Volker Enderlein wrote: Please have a look into the appveyor.yml file under section build_script: you see the typical invocation of cmake for this githu

Re: [CMake] Beginning to compiling CMake file

2018-08-02 Thread Volker Enderlein
Please have a look into the appveyor.yml file under section build_script: you see the typical invocation of cmake for this github project. Cheers Volker Am 02/08/2018 um 15:18 schrieb CrestChristopher: I hope this helps; https://github.com/imageworks/OpenShadingLanguage/pull/824 ? On 8/1/2

Re: [CMake] Beginning to compiling CMake file

2018-08-02 Thread CrestChristopher
I hope this helps; https://github.com/imageworks/OpenShadingLanguage/pull/824 ? On 8/1/2018 5:20 PM, Volker Enderlein wrote: Am 31.07.2018 um 06:17 schrieb CrestChristopher: Hi, I'm a beginner to CMake and for weeks I've been trying to compile a CMake file which I found on a github repository

Re: [CMake] Beginning to compiling CMake file

2018-08-02 Thread CrestChristopher
How can I verify whether what I want to built claims support for Windows ? On 8/1/2018 11:15 AM, Michael Ellery wrote: So it sounds like you are on windows. First, be sure that the project that you are building claims support for windows. Windows is still the “odd man out” platform in many ca

Re: [CMake] Beginning to compiling CMake file

2018-08-01 Thread Volker Enderlein
Am 31.07.2018 um 06:17 schrieb CrestChristopher: Hi, I'm a beginner to CMake and for weeks I've been trying to compile a CMake file which I found on a github repository.  All I can say is I have a CMakeLists.txt file but I don't know how to compile and I hope someone can help ? Christopher Y

Re: [CMake] Beginning to compiling CMake file

2018-08-01 Thread Michael Ellery
So it sounds like you are on windows. First, be sure that the project that you are building claims support for windows. Windows is still the “odd man out” platform in many cases, so you don’t want to chase your tail with a project that never claimed windows support in the first place. That said,

Re: [CMake] Beginning to compiling CMake file

2018-07-31 Thread Domen Vrankar
On Wed, Aug 1, 2018, 03:46 CrestChristopher wrote: > Hi, I'm using CMake for Windows as I was informed that I couldn't use > `make` as the CMakeLists.txt file was only for CMake. > CMake is a meta build system which means that on for example Linux it henerates make fliles so CMakeLists.txt shoul

Re: [CMake] Beginning to compiling CMake file

2018-07-31 Thread CrestChristopher
Hi, I'm using CMake for Windows as I was informed that I couldn't use `make` as the CMakeLists.txt file was only for CMake. Within CMake for Windows I select the location of the source code which is the cloned repository which include the CMakeLists.txt file that I want to compile, followed by

Re: [CMake] Beginning to compiling CMake file

2018-07-31 Thread Michael Ellery
typical usage would be something like (assuming you are at repo root) : mkdir mybuild && cd mybuild cmake -DCMAKE_BUILD_TYPE=Release .. cmake —build . you can also opt to configure cmake (the equivalent of the first cmake command above) using a GUI like ccmake or cmake-gui if you prefer. The cma

[CMake] Beginning to compiling CMake file

2018-07-30 Thread CrestChristopher
Hi, I'm a beginner to CMake and for weeks I've been trying to compile a CMake file which I found on a github repository.  All I can say is I have a CMakeLists.txt file but I don't know how to compile and I hope someone can help ? Christopher -- Powered by www.kitware.com Please keep message