2011/10/27 Phil Smith <p...@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 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake