728x90 반응형 전체 글66 github open source rpg *https://github.com/SurajSharma90/SFML_RPG * https://github.com/Paul-Wortmann/Grume/tree/master * https://github.com/piotrek-szczygiel/newland * https://youtu.be/ssJde6l7mrM?si=2VqV3p6LS6H_Hbtz * https://github.com/etorth/mir2x * https://github.com/JIghtuse/cavestory-sdl2/tree/master * https://github.com/srmeier/KnightOnline * https://github.com/i-bardinov/bomberman-sdl2 2023. 10. 3. SFML CMAKE 결론만 먼저 말하면 https://github.com/piotrek-szczygiel/newland 의 소스 코드를 다운 받아 CMakeLists.txt를 열었을 때 아래와 같이 작성되어 있다. cmake_minimum_required(VERSION 3.1) project(newland) set(SFML_STATIC_LIBRARIES TRUE) find_package( SFML 2.5 COMPONENTS graphics audio REQUIRED) add_definitions(-DTMX_STATIC) include_directories(libraries) file(GLOB_RECURSE SOURCE_FILES ${PROJECT_SOURCE_DIR}/newland/*.cpp ${PROJECT_SOURCE_.. 2023. 10. 2. 깃헙 남의 게임 코드 실행 2023. 10. 1. 참조자를 반환하는 함수 #include int& ref_return(int& ref) //별명을 붙여서 { ref++; return ref; //별명을 뱉는다. } void main() { std::cout 2023. 9. 19. 이전 1 2 3 4 5 6 7 ··· 17 다음 728x90 반응형