2012-04-08 12:20:25 -05:00
|
|
|
cmake_minimum_required(VERSION 2.6)
|
|
|
|
project(NiotsoClient)
|
|
|
|
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/Libraries/FileHandler)
|
2012-04-09 23:58:16 -05:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/Libraries/freetype/include)
|
2012-04-08 12:20:25 -05:00
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
set(NIOTSOCLIENT_SOURCES
|
|
|
|
Client.cpp
|
|
|
|
Audio/Startup.cpp
|
|
|
|
Audio/windows/XAudio2.cpp
|
2012-04-09 23:58:16 -05:00
|
|
|
Graphics/Font.cpp
|
2012-04-08 12:20:25 -05:00
|
|
|
Graphics/Startup.cpp
|
|
|
|
Graphics/Viewport.cpp
|
|
|
|
resources/Resource.rc
|
|
|
|
System/System.cpp
|
2012-04-13 22:55:13 -05:00
|
|
|
Window/Window.cpp
|
2012-04-08 12:20:25 -05:00
|
|
|
)
|
2012-04-13 22:55:13 -05:00
|
|
|
add_executable(TSO ${NIOTSOCLIENT_SOURCES})
|
2012-04-09 23:58:16 -05:00
|
|
|
target_link_libraries(TSO FileHandler_shared freetype_shared ole32 opengl32)
|
2012-03-18 23:06:08 -05:00
|
|
|
endif()
|