Add build script for TextEdit

This commit is contained in:
Andrew Hyatt 2017-04-10 19:28:47 -07:00
parent 3c369ce7f4
commit 0c8f427abc

28
CMakeLists.txt Normal file
View File

@ -0,0 +1,28 @@
project(TextEdit)
add_compile_options(
-nostdinc
-Wl,-sectorder,__TEXT,__text,${CMAKE_CURRENT_SOURCE_DIR}/TextEdit.scatterload
-Wl,-e,start
-Wmost
-Wno-four-char-constants
-Wno-unknown-pragmas
-std=gnu99
)
add_darling_executable(TextEdit
Document.m
Controller.m
ScalingScrollView.m
MultiplePageView.m
Preferences.m
Edit_main.m
EncodingManager.m
DocumentController.m
DocumentWindowController.m
LinePanelController.m
PrintPanelAccessoryController.m
DocumentPropertiesPanelController.m
FontNameTransformer.m
PrintingTextView.m
)