Hello,
i noticed that CPack includes the WINTRUST.dll when I generate an NSIS
installer.
How can I avoid this?
I have no dependencies to this library.
The problem is that the application doesn't work on older Windows versions with
this dll. If I remove the dll after installation then everything
Hi Gilles,
I don't think you can get rid of this .lib, which is the import library.
Linking in the .exe/.dll world does not use the .exe or .dll file itself as
the item to be linked against, but its import library (.lib) instead. You
cannot link against a .dll if you only have the .dll, you need i
Lead PM for the VC++ team at Microsoft here. I just wanted to echo Nagy-Egri’s
message.
We are very interested in learning more about your current edit-build-debug
experience for C++ apps or libs using CMake. Whether you’re developing on
Windows or not, using VS or not today, we do want to hear
Hi Anton,
My setup is:
* Visual Studio 2013 x86 and amd64
* Clang 3.7.1 64 bit installed in c:\Program Files\LLVM\
* CMake 3.5.0
* Ninja 1.5.3
* C++ Hello World CMake project
Visual Studio 2013 amd64
1. Opened a command prompt and run "C:\Program Files (x86)\Micr
It's possible to invoke several CPack generators with one call of 'make
package' by configuring in CMakeLists.txt:
set(CPACK_GENERATOR "STGZ;TGZ;TZ;RPM;DEB")
So far, so good!
A generated package can and shall be relocatable. In other words: You can
determine at package install time, **where** in t
Hello,
This is my first time posting here.
My compilation of CMake failed on my system (Ubuntu 15.1/Wily with gcc 5.2.1).
My configure claims that sstream is not there and the compilation failure seems
to be related to this. I do have the gcc/g++ libraries installed ( … a locate
libstdc++ show
Hello,
The idea is to get all the depedencies from an other project (executable).
set_property(TARGET [EXECUTABLE] PROPERTY ENABLE_EXPORTS true)
target_link_libraries(${PROJECT_NAME} [EXECUTABLE])
This works perfectly, as I get all the include, libs I need, but I get on my
visual studio
Hi Muhammad,
> On 08.03.2016, at 19:12, Muhammad Osama wrote:
>
> Hi Jan,
>
> Thank you for your reply, I am in the similar situation, have a very similar
> implementation using target_*** but since I don't do that for ALL the
> dependencies, I am unable to cmake or compile individual project
On Thu, Mar 10, 2016 at 12:48 AM, Anton Yartsev
wrote:
> Oops, sorry, confused with different variants.
>
> I've tried
> $SET CC=D:\LLVM-3.7.1\bin\clang-cl.exe
> $SET CXX=D:\LLVM-3.7.1\bin\clang-cl.exe
> $cmake -G "Ninja" ..
>
> Compilation succeeded, linkage has ended up with "clang-cl.exe: erro