lp:~mdavidsaver/epics-base/cmake
Build Base with CMake
A complete replacement of the Base build system.
Adds features
* Separate build and install
* System search (like autoconf)
* Much easier to troubleshoot (useful error messages, linear flow, a "print" statement)
* Interactive configuration. "I can't find X so tell me where it is"
Retains features of current Makefile system
* Cross platform (tested with Linux and Win32)
* Cross compile (RTEMS)
* Build several targets at the same time (-DTARGETS=AAA;BBB)
- Get this branch:
- bzr branch lp:~mdavidsaver/epics-base/cmake
Branch merges
Branch information
Recent revisions
- 12221. By Martin Konrad <email address hidden>
-
Fix wrong OS detection if building in i386 chroot environment on x86_64 machines.
- 12220. By Martin Konrad
-
Add support for EPICS_HOST_ARCHs and target architectures ending with '-debug'.
- 12217. By mdavidsaver
-
misc and doc
Update README
Use FindPackageMessage to avoid making too much noise
during rebuilds - 12215. By mdavidsaver
-
Rewrite FindEPICSHostTools
Use a loop to make it much shorter.
Search for host tools only in EPICS_BASE. If they
are located elsewhere this must be explicitly specified
with -DEPICS_HOST_BASE= /some/dir No longer sets AITGEN or GENAPPS since these aren't used
outside of Base. - 12214. By mdavidsaver
-
rewrite FindEPICS
Make this actually useful to outside projects :)
Search for Base once (or use EPICS_BASE from command line)
and search for remaining tools only there.
This ensures that we get a consistent setNow searches for all libraries so that client projects don't have
to list them all. Export additional variables EPICS_Com_LIBRARIES
Which includes libCom and extra libraries (pthread, rt, ...) needed
for a specific OS.Also EPICS_BASE_IOC_LIBS which contains all the libraries targets
needed to link an IOC.Note: the name of the install locations was changed to avoid
a conflict (EPICS_INCLUDE_DIR defined in two places) - 12213. By mdavidsaver
-
Use relative paths in cmake includes
Define EPICS_CMAKE_ROOT when an absolute path is needed.
Currently this is just for the toolchain template file
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)