Skip to content
Snippets Groups Projects
Commit f74a180c authored by Armin Co's avatar Armin Co
Browse files

CMake configs.

parent a8e88ae8
Branches
No related tags found
No related merge requests found
......@@ -28,9 +28,10 @@ endif()
# Add qpong lib for core qpong functionality
add_subdirectory(qpong_core)
include_directories(qpong_core)
# Dear ImGui based application
add_subdirectory(imgui_app)
# add_subdirectory(imgui_app)
# Add dir with gtk qpong app
add_subdirectory(gtk_qpong_app)
......
......@@ -6,7 +6,7 @@ link_directories(${GTKMM_LIBRARY_DIRS})
# get all GTKMM dependencies and configuration
include_directories(${GTKMM_INCLUDE_DIRS})
include_directories(../qpong_core)
# include_directories(../qpong_core)
# create the application
add_executable( qpong.app
......@@ -16,11 +16,15 @@ add_executable( qpong.app
ParticleImage.cpp
)
find_package(Threads)
# link all necessary libs to the target
target_link_libraries( qpong.app
qpong_core
${CMAKE_THREAD_LIBS_INIT}
${GTKMM_LIBRARIES}
fftw3
fftw3_omp
m # math
)
......@@ -7,12 +7,12 @@ add_library(
Player.cpp
)
find_package(Threads)
# find_package(Threads)
target_link_libraries(
qpong_core
${CMAKE_THREAD_LIBS_INIT}
fftw3
fftw3_omp
m
)
\ No newline at end of file
# target_link_libraries(
# qpong_core
# ${CMAKE_THREAD_LIBS_INIT}
# fftw3
# fftw3_omp
# m
# )
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment