Replies: 1 comment 5 replies
-
I strongly recommend that you keep using submodule builds - when set up properly, ACE should be built only once, and then only files in your project which have been actually changed. Of course there will be ACE rebuilds when you change the debug/release target etc., but I imagine you're using same configuration during 90% of development time. If that's a no-go for you,
To make the static link discoverable, you probably need to call it's kinda strange that this define seems to be unused. Do you have this kind of printout? What does it print?
|
Beta Was this translation helpful? Give feedback.
-
Hi again,
Is it possible to put ace into debug mode when compiling and linking with standalone and installed ACE object files ?
ACE helloword for example requires debug mode to write messages to that log file.
If link with the installed ACE I get message to say ACE_DEBUG not used :
I tried setting ace debug on for the cmake build command to build ACE that way:
cmake .. -DCMAKE_TOOLCHAIN_FILE=C:\AmigaCMakeCrossToolchains\m68k-amigaos.cmake -DTOOLCHAIN_PREFIX=m68k-amigaos -DTOOLCHAIN_PATH=C:\amiga-gcc -DACE_DEBUG=ON -G "MinGW Makefiles"
install again and rebuild helloworld with that version. Same result - 'ACE_DEBUG' not used
Maybe it's the way am linking in cmakelists.txt as when enable :
I get errors re ' Add the installation prefix of "ace" to CMAKE_PREFIX_PATH' etc.
I'm not sure what 'find_package' is trying to resolve or look for there.
I can only get it to link if add this before last line of cmakelists.txt (ie where my ace headers and objects are installed)
Resulting size of exe is a lot smaller than the debug version so am assuming it's in release mode.
No issue at all if build helloworld using ace as submodule. Just takes longer to build and get it running that way.
Also, not sure it's possible, but what should/would I add to cmakelists.txt to link with the static library libace.a ?
I see that's built also along with the object files in that C:/amiga-gcc/usr/lib folder.
Beta Was this translation helpful? Give feedback.
All reactions