[CMake] CmakeADSP How to use gmake with ADSP tools

Daniel Wildermuth daniel at schmid-engineering.ch
Mon Jun 29 02:38:10 EDT 2009


Alexander Neundorf wrote:
> How does your toolchain file look like ?

Here it is...

SET( CMAKE_SYSTEM_NAME Generic )

#Added to address the first error message...
SET( CMAKE_MAKE_PROGRAM gmake-378 )

# these are ADSP specific, so it makes sense to have them separated from 
CMAKE_SYSTEM_PROCESSOR
SET( ADSP_PROCESSOR "ADSP-BF561" )
SET( ADSP_PROCESSOR_SILICIUM_REVISION "0.3" )

# specify the cross compiler
SET( CMAKE_CC_COMPILER ccblkfn )
SET( CMAKE_CXX_COMPILER ccblkfn -c++ )

SET( CMAKE_ASM_COMPILER easmBLKFN )



More information about the CMake mailing list