I mean belov, all files bellow BS_IEventConsumer.hpp (beginning with
BS_Application) are in the intern folder in the same path as the other
files above BS_Application.
best regards!
On 09.03.19 08:38, workbe...@gmx.at wrote:
Hi everyone,
i've a project setup that looks like this:
abc.h
def.h
and all my other .cpp and .h files are in the folder intern. Now my
CMakeLists.txt looks like this:
cmake_minimum_required(VERSION 3.7)
project(BS_Application)
set(SRC
BS_AppTypes.hpp
BS_IEvent.hpp
BS_ISystem.hpp
BS_IWindow.hpp
BS_ITimerTask.hpp
BS_IEventConsumer.hpp
BS_Application.cpp
BS_Button.cpp
BS_ContextSDL.cpp
BS_ISystem.cpp
BS_System.cpp
BS_SystemSDL.cpp
BS_WindowSDL.cpp
BS_ContextSDL.cpp
BS_DisplayManagerSDL.cpp
BS_Button.cpp
BS_EventManager.cpp
BS_EventPrinter.cpp
BS_ModifierKeys.cpp
BS_DisplayManager.cpp
)
set(INC
intern
)
include_directories(${INC})
add_library(BS_Application STATIC ${SRC})
Where all files above BS_Application.cpp are in the folder intern but
he is not able to find BS_Application.cpp but i added it to the
include_direcotires, what am i doing wrong here ?
best regards!
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake