I cannot seem to get the following to work when using the Xcode generator
(Unix Makefile and Visual Studio ones work fine)
SET_TARGET_PROPERTIES (${PLUGIN_NAME} PROPERTIES
LINK_FLAGS -L${LIBRARY_OUTPUT_PATH}/..
LINK_FLAGS_DEBUG X
LINK_FLAGS_RELEASE YY
I cant help but comment that this is unnecessarily complicated when
all that is desired is simply compiling without the Cmake dependency.
Conceptually it should not be this hard.
Recently I was tasked to help develop a small static library (4 source
files), the primay developer works in Linux and
On Wed, Mar 5, 2008 at 4:00 PM, Randal Walser [EMAIL PROTECTED] wrote:
Can anyone tell me how I can use cmake to generate GNU makefiles which
invoke the MSVC compiler? The Cygwin version of cmake seems to insist
on gcc. Likewise, when I specify Unix Makefiles to CMakeSetup, it
resets
Why do we need to keep him around? If Bill has determined that such
steps are needed, then I must conclude that something more serious has
happened behind the scenes that we are not aware of.
___
CMake mailing list
CMake@cmake.org
On 10/9/07, David Cole [EMAIL PROTECTED] wrote:
The problem (from a CMake perspective) is how to go about giving
override control of that setting to CMakeLists.txt files / developers
using CMake. If anybody has a reasonable suggestion of how to achieve
this in a non-Xcode-centric way (i.e.,
Here is how I do it:
SET (MY_CPP
source files
)
SET (MY_H
header files
)
SOURCE_GROUP (name_of_group
FILES
${MY_CPP}
)
SOURCE_GROUP (name_of_group\\headers
FILES
${MY_H}
)
SET (MY_SRC
${MY_CPP}
${MY_H}
)
# add sources to library
ADD_LIBRARY (${PROJECT}
${MY_SRC}
)
I've tried:
SET (CMAKE_SHARED_LINKER_FLAGS
${CMAKE_SHARED_LINKER_FLAGS} /DELAYLOAD:dnssd.dll
)
and
SET_TARGET_PROPERTIES (${MY_PROJECT} PROPERTIES
LINK_FLAGS /DELAYLOAD:dnssd.dll
)
and after I build the project in Visual Studio 2005, I am greeted with the
dialog that says dnssd.dll is
Wouldn't it be better to have the compilation destination be where the tests
expect?
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Here is how I got around what you describe. My project sounds pretty similar
in how it is set up
when building the exe:
IF (PLATFORM MATCHES win32)
IF (CMAKE_GENERATOR MATCHES Visual Studio 8 2005)
SET_TARGET_PROPERTIES (${project_exe} PROPERTIES
LINK_FLAGS
When creating a visual studio 2005 project, I need to be able to compile .c
files as a c++ (/FP switch). Is there any way to achieve this outside of
renaming the files?
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
I have found that if I rename my .c files to .C then cmake does not emit the
XML in the .vsproj to change the build mode.
On 3/20/07, Ben Ratzlaff [EMAIL PROTECTED] wrote:
It did not work for me
I have also tried:
SET (CMAKE_C_SOURCE_FILE_EXTENSIONS )
SET
11 matches
Mail list logo