Codechange: split building into a library and executable
This commit is contained in:
@@ -4,9 +4,12 @@ add_files(
|
||||
font_osx.h
|
||||
macos.h
|
||||
macos.mm
|
||||
osx_main.cpp
|
||||
osx_stdafx.h
|
||||
string_osx.cpp
|
||||
string_osx.h
|
||||
CONDITION APPLE
|
||||
)
|
||||
|
||||
if(APPLE)
|
||||
target_sources(openttd PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/osx_main.cpp)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user