Re: [CMake] LD_LIBRARY_PATH not used by the linker

2018-08-03 Thread Robert Maynard
When you dumb out the contents of VTK_LIBRARIES do you see ';/home2/softmassot/eb/Compiler/GCCcore/7.2.0/Python/2.7.14-bare/lib/libpython2.7.so'. In general CMake will only stop using the absolute path of a library when the library resides in an implicit directory provided by the compiler. On Thu,

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] Can't find boost libs on VS2017 CMake 3.12

2018-08-03 Thread Søren
Thanks Debug output shows * that it already searchs in the right folders. * It appears to search for the right patterns e.g. "boost_chrono-vc141-mt-x64-1_67" (file is there "libboost_chrono-vc141-mt-x64-1_67.lib") * It also states  "Boost_FOUND = 1" But still that error. So far I can't see fr

Re: [CMake] $ is not empty even if configuration has no PDB

2018-08-03 Thread Nils Gladitz
On Fri, Aug 3, 2018 at 11:31 AM Louis-Paul CORDIER wrote: > How can I detect using generator expression if a file exists? > Since there is no first class CMake feature controlling if PDB files are generated and since CMake does not try to interpret custom compiler flags projects or users might b

[CMake] $ is not empty even if configuration has no PDB

2018-08-03 Thread Louis-Paul CORDIER
Hi everybody, I am currently trying to add reproducible MSVC build to my project using ducible tool. ducible can take in optional parameter, a pdb file. I am using the following command:   set(DUCIBLE_BINARY "${CMAKE_CURRENT_LIST_DIR}/bin/ducible.exe")   add_custom_command(TARGET ${MYTARGET}

Re: [CMake] setting FIXTURES_* and RESOURCE_LOCK caused permission denied for dependent test?

2018-08-03 Thread Craig Scott
On Fri, Aug 3, 2018 at 12:56 PM, Quang Ha wrote: > Hi all, > > I am facing the issue of FIXTURES for setting up dependent test. Using > RESOURCE_LOCK. Currently, it looks something like this: > > === > set_test_properties(run_simulation PROPERTIES F