CMake version: 2.8
IDE: Visual Studio 2008
For the source and header files I would like to preserve the directory
structure within the Visual Studio Header Files and Source Files
folders. Without it should there occur two files with the same name
but in different directories only one is shown.
would behave that way?
Stephen
On 11/18/11, Michael Wild them...@gmail.com wrote:
On 11/17/2011 06:12 PM, Stephen Torri wrote:
CMake Version: 2.8
Generator: Visual Studio 2008
Problem: Two install commands are used per library. First command
should only install libraries to lib/debug when
On Fri, 2011-11-18 at 22:49 +0100, Michael Wild wrote:
Sorry, I misread the documentation myself. You need multiple install()
commands, for each configuration one, but after each DESTINATION option
you also need the COMPONENTS option. So, this would be something like this:
install(TARGETS
CMake Version: 2.8
Generator: Visual Studio 2008
Problem: Two install commands are used per library. First command
should only install libraries to lib/debug when the build type is
Debug. The second command should only install libraries to the
lib/release directory. When the build type is Debug
On 11/4/11, Michael Hertling mhertl...@online.de wrote:
The problem is that PDB files are usually generated next to their binary
in a configuration-specific directory which can not be accessed smoothly
by INSTALL(FILES ...). However, you can use a POST_BUILD custom command
in conjunction with
I am using CMAKE_DEBUG_POSTFIX to attach a string to end of each DLL
name being built using Visual Studio 2008. The DLLs have the name that
expect which is the target name + CMAKE_DEBUG_POSTFIX. The problem I
am running into is the SWIG wrapper DLL name does not match the
dllimport flag when
Searching the net for how to install PDB files with CMake comes up with no real
solution. I can see from the mailing list archives that this issue had been
brought up before. What is am acceptable way to install PDB files when
compiling on Windows?
Stephen
--
Sent from my Android phone with
I am using CMake to run SWIG to generate C# wrapper files for a
project. While the attached CMakeLists.txt file produces a Visual
Studio solutions that builds the C++ library, C# wrapper library and
C# prototype executable I don't know first if I am using CMake
correctly in this case. Secondly I
I am having a problem setting up CMake to find the Boost unit test framework
library when building a test program. In the top level CMakeLists.txt file I
have:
ENABLE_TESTING()
add_subdirectory ( path/to/test )
In the test directory CMakeLists.txt file I have:
LINK_DIRECTORIES (
Problem: Cannot change name of installer package.
Cmake version: 2.8.4
I am trying to change the value of CPACK_PACKAGE_NAME depending upon which
build was performed. What I am seeing is that CPACK_PACKAGE_NAME is always
set to the project name. The code I am using to try and change the name is
Normally we use target_link_libraries to link against certain libraries. For
example:
target_link_libraries ( mytarget A B C )
Well when I am working on creating regressions tests for my library, called
mytarget, I would use the same CMake command to link against the
boost unit test framework
On Thu, Jun 23, 2011 at 11:37 AM, aaron.mead...@thomsonreuters.com wrote:
Can you post your CMakeLists.txt? Did you get different errors for each
of the 3 solutions you tried, or were they all the same error? What was the
exception code?
I got the same error. I did not receive a
I am using cmake 2.8 for building MSVC solutions for a project.
The project builds fine as do the tests on Windows. The problem
comes when I try to run the tests. I usually get an error message
that the dependent DLLs cannot be found. I have searched on google
for an answer and came up with a
Subject: Finding libraries on Windows platform
I am using CMake 2.8 on Windows XP to create a Visual Studio 2010 solution.
The problem I am having is that I cannot get CMake to find libraries on the
system. These libraries were created by us for other project. Here is the
CMake module
14 matches
Mail list logo