CMake Build System: Difference between revisions

m
Bot: Replace deprecated source tag with syntaxhighlight
[unchecked revision][unchecked revision]
m (Bot: Replace deprecated source tag with syntaxhighlight)
m (Bot: Replace deprecated source tag with syntaxhighlight)
Line 191:
Now, all we have to do is call <code>LOAD_PROFILE()</code> with the provided parameters, and we should be able to set up our build environment in a sane manner:
 
<sourcesyntaxhighlight lang="cmake">
FILE(GLOB GENERIC_SRCS "*.c")
 
Line 206:
SET_TARGET_PROPERTIES(kernel PROPERTIES LINK_FLAGS
"-T ${PLATFORM_LAYOUT} -N ${ISA_LINKER_FLAGS} ${PLATFORM_LINKER_FLAGS}")
</syntaxhighlight>
</source>
 
Here, we make a reasonable attempt to control the build order, but the truth is, we don't really know exactly what that order should be; it might