build both host and target cmake projects from same root CMakeLists.txt

This commit is contained in:
Wolfgang Thaller 2012-04-06 20:54:45 +02:00
parent 1430d6d7e2
commit 51209b9c46
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,9 @@
cmake_minimum_required(VERSION 2.8)
project(Retro)
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
add_subdirectory(libretro)
add_subdirectory(App2)
else()
add_subdirectory(MakeAPPL)
endif()