|
|
@@ -1,6 +1,6 @@
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
|
-project(tools)
|
|
|
+project(crown-tools)
|
|
|
|
|
|
include(FindFreetype)
|
|
|
|
|
|
@@ -11,7 +11,12 @@ include_directories(${FREETYPE_INCLUDE_DIRS})
|
|
|
link_libraries(${FREETYPE_LIBRARIES})
|
|
|
endif (FREETYPE_FOUND)
|
|
|
|
|
|
-#add_executable(fontgen fontgen/fontgen.cpp)
|
|
|
+find_package(PkgConfig)
|
|
|
+
|
|
|
+pkg_check_modules(GTKMM gtkmm-3.0)
|
|
|
+
|
|
|
+link_directories(${GTKMM_LIBRARY_DIRS})
|
|
|
+include_directories(${GTKMM_INCLUDE_DIRS})
|
|
|
|
|
|
add_executable(resource-hash resource-compilers/resource-hash.cpp)
|
|
|
|
|
|
@@ -21,8 +26,6 @@ add_executable(lua-compiler resource-compilers/lua-compiler.cpp)
|
|
|
|
|
|
add_executable(resource-linker resource-compilers/resource-linker.cpp)
|
|
|
|
|
|
-#target_link_libraries(fontgen crown)
|
|
|
-
|
|
|
target_link_libraries(resource-hash crown)
|
|
|
|
|
|
target_link_libraries(txt-compiler crown)
|
|
|
@@ -31,3 +34,5 @@ target_link_libraries(lua-compiler crown)
|
|
|
|
|
|
target_link_libraries(resource-linker crown)
|
|
|
|
|
|
+add_subdirectory(gtk)
|
|
|
+
|