cmakefiles

This commit is contained in:
Kelvin Sherlock 2013-02-05 23:41:11 -05:00
parent fe39dbfb71
commit 68224d7e15
2 changed files with 13 additions and 0 deletions

8
CMakeLists.txt Normal file
View File

@ -0,0 +1,8 @@
set(CMAKE_C_COMPILER "clang")
set(CMAKE_CXX_COMPILER "clang++")
set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ -Wall -g")
project(mpw)
cmake_minimum_required(VERSION 2.6)
add_subdirectory(bin)

5
bin/CMakeLists.txt Normal file
View File

@ -0,0 +1,5 @@
#set(CMAKE_C_COMPILER "clang")
#set(CMAKE_CXX_COMPILER "clang++")
set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ -Wall -g -Wno-deprecated-declarations ")
SET(CMAKE_EXE_LINKER_FLAGS "-framework Carbon")
add_executable(loader loader.cpp)