On Tue, 20 Sep 2011 19:11:58 +0200, Michael Hertling wrote:
After configuring, "make help" reveals:
% make help
The following are some of the valid targets for this Makefile:
... all (the default if no target is provided)
... clean
... depend
... edit_cache
... main
... mainxx
... rebuild_cache
Hi
I don't see the .S targets (for C/CXX files) which used to be there. I
would like to look at the assembly files of the C/CXX files.
I'm on
GNU/Linux
GCC-4.3.4
CMake-2.8.2
Adding
enable_language(ASM)
SET (CMAKE_C_CREATE_ASSEMBLY_SOURCE " -S
-o ")
before the project doesn't help.
Any
On Thu, 14 May 2009 07:49:34 -0700, Tyler Roscoe wrote:
> It's hard to say what's wrong with your custom_target/macro workflow
> without seeing some CMakeLists code.
>
> I would solve this problem a different way: put #define VERSION whatever
> into a header, include that header from a source fil
Hello
I have a macro to get SCM information (in this case git) from the
${CMAKE_SOURCE_DIR}. I use the branch and SHA1 information to define the
${PROJECT_VERSION} which in turn defines a compiler definition:
add_definitions( -DVERSION="${PROJECT_VERSION}" )
Example:
-DVERSION="master:cef2dc74e