[CMake] CMake still broken post-2.8.1
Eric Noulard
eric.noulard at gmail.com
Thu Oct 27 13:47:07 EDT 2011
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
More information about the CMake
mailing list