summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
blob: b1cb04ba94bd61c8addcfaad25fcb1d0904c895c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cmake_minimum_required(VERSION 3.20)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_EXTENSIONS Yes)
project(Starshatter)
if(MSVC)
	set(WINDOWSSDK_LIBPATH "C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0" CACHE FILEPATH "Path to a versioned lib directory of selected Windows SDK")
	set(WINDOWSSDK_PATH "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0" CACHE FILEPATH "Path to a versioned include directory of selected Windows SDK")
endif()
add_subdirectory(Datafile)
# /Doc contains various documentation and pre-generated Doxygen docs.
add_subdirectory(FoundationEx)
add_subdirectory(libpng)  # is a third-party library.
# add_subdirectory(Magic2)  # TODO: AFX/MFC will be useless, port it to e.g., Qt right away.
add_subdirectory(NetEx)
add_subdirectory(ogg)  # is a third-party library.
add_subdirectory(Opcode)  # is a third-party library.
add_subdirectory(Stars45)
add_subdirectory(vorbis)  # is a third-party library.
add_subdirectory(zlib)  # is a third-party library.