[CMake] CMake still broken post-2.8.1

Phil Smith phil at voltage.com
Thu Oct 27 15:00:42 EDT 2011


Ok, tried the CMakeLists change, no change.

The Dignus-related files are attached.

Thanks.

-----Original Message-----
From: Eric Noulard [mailto:eric.noulard at gmail.com] 
Sent: Thursday, October 27, 2011 1:47 PM
To: Phil Smith
Cc: CMake ML
Subject: Re: [CMake] CMake still broken post-2.8.1

2011/10/27 Phil Smith <phil at voltage.com>:
> Yeah, I know everyone thinks out-of-source builds are better, but we have peculiar requirements related to packaging up the object decks and the like that really make out-of-source builds unappealing. We've been doing this for almost 4 years, so we're pretty happy with it (other than this new issue).

OK I see I do intend to change your habits just to suggest
that it is usually safer for testing purpose.

> I delete CMakeCache.txt and rm -rf CMakeFiles, re-cmake, make, and it calls Regina with no operands. Is there anything else I need to clean up?

You should have a bunch of cmake_install.cmake files (but those
shouldn't change the behaviour of the next cmake run)
You'll probably have CPackConfig.cmake and CPackSourceConfig.cmake
Then any file coming from configure_file or add_custom_command of yours.

> There are no FIND_anythings in the CMakeLists.

OK good.

> Yes, we're using assembler as well. ASMIT.BAT is simple:
> @echo off
> rexx.exe cc.rex dasm.exe %*

Ok then may be the ASM usage triggers C compiler setup too early,
again Alex would know better than me here.

Could you try

cmake_minimum_required (VERSION 2.6)
project(ZFPE C)
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
enable_language(ASM_DIGNUS)

instead of your current.

cmake_minimum_required (VERSION 2.6)
project(ZFPE C ASM_DIGNUS)
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)

> That works because dasm doesn't take parameters in the var=value format.
> I've attached the CMakeLists.txt.

Yes then now we may need your ASM_DIGNUS cmake support file
because unless I'm wrong I do not see it in CMake upstream source.



-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeASM_DIGNUSInformation.cmake
Type: application/octet-stream
Size: 268 bytes
Desc: CMakeASM_DIGNUSInformation.cmake
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111027/9be70663/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeDetermineASM_DIGNUSCompiler.cmake
Type: application/octet-stream
Size: 136 bytes
Desc: CMakeDetermineASM_DIGNUSCompiler.cmake
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111027/9be70663/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeTestASM_DIGNUSCompiler.cmake
Type: application/octet-stream
Size: 75 bytes
Desc: CMakeTestASM_DIGNUSCompiler.cmake
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111027/9be70663/attachment-0002.obj>


More information about the CMake mailing list