Skip to content
/ HamPi Public

INACTIVE: Source Code for First Year ARM11 Group project Team HamPi, Imperial College London

License

Notifications You must be signed in to change notification settings

Rt247/HamPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HamPi

ACTIVE: Source Code for First Year ARM11 Group project Team HamPi

Note

The original host for this project was on the Imperial College GitLab servers, therefore the commits represented on GitHub are not representative of the total work done by each contributor. If you would like to know who wrote a certain section of code, please just ask!

/Cmake file for linking Clion/

/You generally want to install the development library for your system./

/Put the resources in the cmake-build-debug folder/

/But make sure you put the contents of the lib folder directly in the cmake-build-debug folder where the game executable is/

SDL2

SDL2_ttf

SDL2_mixer

cmake_minimum_required(VERSION 3.7)

project(.....) //Project Name here as normal

set(CMAKE_CXX_STANDARD 11)

include_directories(${CMAKE_SOURCE_DIR}/.....) //Put the directory path which corresponds to the include folder of SDL2

link_directories(${CMAKE_SOURCE_DIR}/.....) //Put the directory path which corresponds to the library folder of SDL2

include_directories(${CMAKE_SOURCE_DIR}/.....) //Put the directory path which corresponds to the include folder of SDL2_ttf

link_directories(${CMAKE_SOURCE_DIR}/.....) //Put the directory path which corresponds to the library folder of SDL2_ttf

include_directories(${CMAKE_SOURCE_DIR}/.....) //Put the directory path which corresponds to the include folder of SDL2_mixer

link_directories(${CMAKE_SOURCE_DIR}/.....) //Put the directory path which corresponds to the library folder of SDL2_mixer

set(SOURCE_FILES .....) //As normal

add_executable(game ${SOURCE_FILES})

target_link_libraries(..... SDL2) /*

target_link_libraries(..... SDL2_ttf) Link the libraries used here

target_link_libraries(..... SDL2_mixer) */

About

INACTIVE: Source Code for First Year ARM11 Group project Team HamPi, Imperial College London

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published