Skip to content

Commit

Permalink
c++14
Browse files Browse the repository at this point in the history
  • Loading branch information
mm-s committed Mar 3, 2017
1 parent c78d833 commit 6fd4f9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mmmake/mmmake_sh
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,12 @@ echo "LINK_DIRECTORIES(\${LIBRARY_OUTPUT_PATH})" >> $outf
echo "SET(CMAKE_MODULE_PATH \$ENV{CMAKE_MODULE_PATH})" >> $outf


echo "if(\"${CMAKE_VERSION}\" VERSION_GREATER 3.6.1)" >> $outf
echo " set(CMAKE_CXX_STANDARD 14)" >> $outf
echo " set(CMAKE_CXX_STANDARD_REQUIRED ON)" >> $outf
echo "else()" >> $outf
echo " add_definitions(-std=c++14)" >> $outf
echo "endif()" >> $outf


grpf_libs=`xsltproc $xsltdir/targets_shared_libraries.xsl $grpf_prjxmlfile`
Expand Down

0 comments on commit 6fd4f9f

Please sign in to comment.